mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-24 10:10:59 +00:00
wgengine/router: fix tests on Debian Buster as regular user on machine with IPv6
This commit is contained in:
parent
fddbcb0c7b
commit
bbb56f2303
@ -1003,7 +1003,9 @@ func supportsV6() bool {
|
||||
|
||||
// Some distros ship ip6tables separately from iptables.
|
||||
if _, err := exec.LookPath("ip6tables"); err != nil {
|
||||
return false
|
||||
if _, err := os.Stat("/sbin/ip6tables"); err != nil {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
return true
|
||||
|
Loading…
x
Reference in New Issue
Block a user