cmd/tailscale/cli: include GOOS in BSD warning message

instead of just lowercase "bsd"

Updates #1475

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/1397/head
Brad Fitzpatrick 4 years ago committed by Brad Fitzpatrick
parent 380a3526f6
commit 98ab533324

@ -182,7 +182,7 @@ func runUp(ctx context.Context, args []string) error {
if len(routeMap) > 0 { if len(routeMap) > 0 {
checkIPForwarding() checkIPForwarding()
if isBSD(runtime.GOOS) { if isBSD(runtime.GOOS) {
warnf("Subnet routing and exit nodes only work with additional manual configuration on bsd, and is not currently officially supported.") warnf("Subnet routing and exit nodes only work with additional manual configuration on %v, and is not currently officially supported.", runtime.GOOS)
} }
} }
routes := make([]netaddr.IPPrefix, 0, len(routeMap)) routes := make([]netaddr.IPPrefix, 0, len(routeMap))

Loading…
Cancel
Save