mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
util/linuxfw: correct logical error in NAT table check (#11380)
Updates #11344 Updates #11354 Signed-off-by: James Tucker <james@tailscale.com>
This commit is contained in:
parent
50a570a83f
commit
43fba6e04d
@ -90,7 +90,7 @@ func checkSupportsV6NAT(ipt *iptables.IPTables, logf logger.Logf) bool {
|
||||
if ipt == nil || ipt.Proto() != iptables.ProtocolIPv6 {
|
||||
return false
|
||||
}
|
||||
natListErr, _ := ipt.ListChains("nat")
|
||||
_, natListErr := ipt.ListChains("nat")
|
||||
if natListErr == nil {
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user