freebsd: ignore IPv6 for now

FreeBSD tun devices don't work with the way we implement IPv6
https://github.com/tailscale/tailscale/issues/1307

At least for now, remove any IPv6 addresses from the netmap.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
Denton Gentry
2021-03-03 11:34:37 -08:00
committed by Denton Gentry
parent 524fb2c190
commit 061422affc
5 changed files with 108 additions and 0 deletions
+2
View File
@@ -10,6 +10,8 @@ import (
"tailscale.com/types/logger"
)
//go:generate go run tailscale.com/cmd/cloner -type=Config -output=config_clone.go
// Config is the set of parameters that uniquely determine
// the state to which a manager should bring system DNS settings.
type Config struct {