mirror of https://github.com/M66B/NetGuard.git
Fixed ICMPv6 protocol number
This commit is contained in:
parent
95398c5602
commit
0629520eaf
|
@ -1831,7 +1831,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
|
|||
|
||||
private boolean isSupported(int protocol) {
|
||||
return (protocol == 1 /* ICMPv4 */ ||
|
||||
protocol == 59 /* ICMPv6 */ ||
|
||||
protocol == 58 /* ICMPv6 */ ||
|
||||
protocol == 6 /* TCP */ ||
|
||||
protocol == 17 /* UDP */);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue