fixed ping not working on current build

pr #941 breaks ping indicator ingame, thanks to 789 for finding this
This commit is contained in:
Justin
2019-07-10 13:29:44 +10:00
committed by GitHub
parent befd32ec32
commit 40e572c731

View File

@@ -30,7 +30,7 @@ import com.sun.jna.platform.win32.WinDef;
import java.util.Arrays;
import java.util.List;
class IcmpEchoReply extends Structure
public class IcmpEchoReply extends Structure
{
private static final int IP_OPTION_INFO_SIZE = 1 + 1 + 1 + 1 + (Pointer.SIZE == 8 ? 12 : 4); // on 64bit vms add 4 byte padding
public static final int SIZE = 4 + 4 + 4 + 2 + 2 + Pointer.SIZE + IP_OPTION_INFO_SIZE;