tailscale/ipn
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
..
ipnlocal cmd/tailscale/cli: don't let up change prefs based on implicit flag values 2021-04-12 14:39:47 -07:00
ipnserver ipn, paths, cmd/tailscaled: remove LegacyConfigPath, relaynode migration 2021-04-07 10:15:45 -07:00
ipnstate net/{packet,tstun}: send peerapi port in TSMP pongs 2021-03-29 15:18:23 -07:00
localapi ipn/localapi: require write access to PATCH prefs 2021-04-11 21:31:20 -07:00
policy ipn/policy: mark peerapi4 and peerapi6 as interesting services 2021-04-01 11:57:24 -07:00
backend.go ipn/ipnlocal: add LocalBackend.SetDirectFileRoot 2021-04-12 14:29:45 -07:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
fake_test.go ipn/localapi: move EditPrefs to localapi 2021-04-11 16:11:43 -07:00
handle.go ipn: move Options.Notify to its own method 2021-04-06 22:12:40 -07:00
message_test.go ipn: move Options.Notify to its own method 2021-04-06 22:12:40 -07:00
message.go ipn: set BackendServer's notify earlier; don't require Start 2021-04-12 10:38:51 -07:00
prefs_clone.go types/persist: split controlclient.Persist into a small leaf package 2021-02-05 15:25:33 -08:00
prefs_test.go ipn: add hostname to Prefs.Pretty output 2021-04-12 10:45:33 -07:00
prefs.go ipn: add hostname to Prefs.Pretty output 2021-04-12 10:45:33 -07:00
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 2020-05-13 23:12:35 -04:00
store.go wgkey: new package 2020-12-30 17:33:02 -08:00