mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-22 06:10:56 +00:00
Fixed ICMPv6 protocol number
This commit is contained in:
parent
95398c5602
commit
0629520eaf
1 changed files with 1 additions and 1 deletions
|
@ -1831,7 +1831,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
|
||||||
|
|
||||||
private boolean isSupported(int protocol) {
|
private boolean isSupported(int protocol) {
|
||||||
return (protocol == 1 /* ICMPv4 */ ||
|
return (protocol == 1 /* ICMPv4 */ ||
|
||||||
protocol == 59 /* ICMPv6 */ ||
|
protocol == 58 /* ICMPv6 */ ||
|
||||||
protocol == 6 /* TCP */ ||
|
protocol == 6 /* TCP */ ||
|
||||||
protocol == 17 /* UDP */);
|
protocol == 17 /* UDP */);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue