mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-21 06:01:42 +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 {
|
if len(routeMap) > 0 {
|
||||||
checkIPForwarding()
|
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))
|
routes := make([]netaddr.IPPrefix, 0, len(routeMap))
|
||||||
for r := range routeMap {
|
for r := range routeMap {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user