You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tailscale/cli
Brad Fitzpatrick 90002be6c0 cmd/tailscale: make pref-revert checks ignore OS-irrelevant prefs
This fixes #1833 in two ways:

* stop setting NoSNAT on non-Linux. It only matters on Linux and the flag
  is hidden on non-Linux, but the code was still setting it. Because of
  that, the new pref-reverting safety checks were failing when it was
  changing.

* Ignore the two Linux-only prefs changing on non-Linux.

Fixes #1833

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
bugreport.go cmd/tailscale, ipn/localapi: add "tailscale bugreport" subcommand 3 years ago
cli.go cmd/tailscale/cli: rename 'tailscale push' to 'tailscale file cp' 3 years ago
cli_test.go cmd/tailscale: make pref-revert checks ignore OS-irrelevant prefs 3 years ago
debug.go ipn/localapi, cmd/tailscale: add API to get prefs, CLI debug command to show 3 years ago
down.go ipn/localapi: move EditPrefs to localapi 3 years ago
file.go cmd/tailscale: improve file cp error message in macOS GUI version 3 years ago
ip.go cmd/tailscale/cli: let ip take a peername 3 years ago
logout.go cmd/tailscale: fix command descriptions (#1710) 3 years ago
netcheck.go net/portmapper: add NAT-PMP client, move port mapping service probing 3 years ago
ping.go ipn/ipnstate: add PeerStatus.TailscaleIPs slice, deprecate TailAddr 3 years ago
status.go ipn/ipnstate: add PeerStatus.TailscaleIPs slice, deprecate TailAddr 3 years ago
up.go cmd/tailscale: make pref-revert checks ignore OS-irrelevant prefs 3 years ago
version.go cmd/tailscale, ipn/localapi: get daemon version from localapi status 3 years ago
web.css cmd/tailscale/cli: split out web.css file 3 years ago
web.go ipn: add DefaultControlURL const, replace few literals with it 3 years ago
web.html cmd/tailscale/cli: split out web.css file 3 years ago