cmd/tailscale/cli: disallow --ssh on Synology

Updates tailscale/corp#5468
Updates #3802

Signed-off-by: Maisem Ali <maisem@tailscale.com>
pull/4785/head
Maisem Ali 2 years ago committed by Maisem Ali
parent a9b4bf1535
commit 03e3e6abcd

@ -440,7 +440,10 @@ func runUp(ctx context.Context, args []string) error {
return errors.New("--exit-node is " + notSupported)
}
if upArgs.netfilterMode != "off" {
return errors.New("--netfilter-mode values besides \"off\" " + notSupported)
return errors.New("--netfilter-mode values besides \"off\" are " + notSupported)
}
if upArgs.runSSH {
return errors.New("--ssh is " + notSupported)
}
}

Loading…
Cancel
Save