tailscale/ipn/ipnlocal
Brad Fitzpatrick 9972c02b60 cmd/tailscale/cli: don't let up change prefs based on implicit flag values
This changes the behavior of "tailscale up".

Previously "tailscale up" always did a new Start and reset all the settings.

Now "tailscale up" with no flags just brings the world [back] up.
(The opposite of "tailscale down").

But with flags, "tailscale up" now only is allowed to change
preferences if they're explicitly named in the flags. Otherwise it's
an error. Or you need to use --reset to explicitly nuke everything.

RELNOTE=tailscale up change

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-12 14:39:47 -07:00
..
local_test.go ipn/localapi: add API for getting file targets 2021-04-06 11:01:30 -07:00
local.go cmd/tailscale/cli: don't let up change prefs based on implicit flag values 2021-04-12 14:39:47 -07:00
loglines_test.go cmd/tailscaled, wgengine: remove --fake, replace with netstack 2021-03-01 11:09:19 -08:00
peerapi_macios_ext.go ipn/{ipnlocal,localapi}: add localapi handler to dial/proxy file PUTs 2021-04-06 21:31:50 -07:00
peerapi.go ipn/ipnlocal: add LocalBackend.SetDirectFileRoot 2021-04-12 14:29:45 -07:00