mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
fix: IsIPv6Supported in nft logic
This commit is contained in:
1 parent
d854b95216
commit
cbb28d4881
1 file changed
+3
@@ -43,6 +43,9 @@ func IsIPv6Supported() bool {
|
||||
if !nettest.SupportsIPv6() {
|
||||
return false
|
||||
}
|
||||
if _, isNft := Redirect.(*nftRedirect); isNft {
|
||||
return true
|
||||
}
|
||||
return cmds.IsCommandValid("ip6tables") || cmds.IsCommandValid("ip6tables-nft")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user