mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
cmd/tailscale/cli: warn if using subnet routing on BSD
Fixes #1475. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
232cfda280
commit
380a3526f6
@ -181,6 +181,9 @@ func runUp(ctx context.Context, args []string) error {
|
||||
}
|
||||
if len(routeMap) > 0 {
|
||||
checkIPForwarding()
|
||||
if isBSD(runtime.GOOS) {
|
||||
warnf("Subnet routing and exit nodes only work with additional manual configuration on bsd, and is not currently officially supported.")
|
||||
}
|
||||
}
|
||||
routes := make([]netaddr.IPPrefix, 0, len(routeMap))
|
||||
for r := range routeMap {
|
||||
|
Loading…
Reference in New Issue
Block a user