util/linuxfw,wgengine/router: enable IPv6 configuration when netfilter is disabled
Updates #11434 Signed-off-by: James Tucker <james@tailscale.com>
This commit is contained in:

committed by
James Tucker

parent
8444937c89
commit
3f7313dbdb
@ -130,7 +130,7 @@ func errCode(err error) int {
|
||||
// missing. It does not check that IPv6 is currently functional or
|
||||
// that there's a global address, just that the system would support
|
||||
// IPv6 if it were on an IPv6 network.
|
||||
func checkIPv6(logf logger.Logf) error {
|
||||
func CheckIPv6(logf logger.Logf) error {
|
||||
_, err := os.Stat("/proc/sys/net/ipv6")
|
||||
if os.IsNotExist(err) {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user