1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2025-02-21 13:56:58 +00:00

Fixed ICMPv6 protocol number

This commit is contained in:
M66B 2019-06-01 16:29:44 +02:00
parent 95398c5602
commit 0629520eaf

View file

@ -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 */);
}