Fixed ICMPv6 protocol number

This commit is contained in:
M66B 2019-06-01 16:29:44 +02:00
parent 95398c5602
commit 0629520eaf
1 changed files with 1 additions and 1 deletions

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