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
@@ -54,6 +54,8 @@ func Cleanup(logf logger.Logf, interfaceName string) {
cleanup(logf, interfaceName)
}
//go:generate go run tailscale.com/cmd/cloner -type=Config -output=config_clone.go
// Config is the subset of Tailscale configuration that is relevant to
// the OS's network stack.
type Config struct {