From 98ab53332421e2ab060b2b579f20cfcad517875c Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 15 Mar 2021 20:21:21 -0700 Subject: [PATCH] cmd/tailscale/cli: include GOOS in BSD warning message instead of just lowercase "bsd" Updates #1475 Signed-off-by: Brad Fitzpatrick --- cmd/tailscale/cli/up.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tailscale/cli/up.go b/cmd/tailscale/cli/up.go index c26b94074..75acae665 100644 --- a/cmd/tailscale/cli/up.go +++ b/cmd/tailscale/cli/up.go @@ -182,7 +182,7 @@ 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.") + 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))