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/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>
3 years ago
..
ipnlocal cmd/tailscale/cli: don't let up change prefs based on implicit flag values 3 years ago
ipnserver ipn, paths, cmd/tailscaled: remove LegacyConfigPath, relaynode migration 3 years ago
ipnstate net/{packet,tstun}: send peerapi port in TSMP pongs 3 years ago
localapi ipn/localapi: require write access to PATCH prefs 3 years ago
policy ipn/policy: mark peerapi4 and peerapi6 as interesting services 3 years ago
backend.go ipn/ipnlocal: add LocalBackend.SetDirectFileRoot 3 years ago
doc.go Move Linux client & common packages into a public repo. 4 years ago
fake_test.go ipn/localapi: move EditPrefs to localapi 3 years ago
handle.go ipn: move Options.Notify to its own method 3 years ago
message.go ipn: set BackendServer's notify earlier; don't require Start 3 years ago
message_test.go ipn: move Options.Notify to its own method 3 years ago
prefs.go ipn: add hostname to Prefs.Pretty output 3 years ago
prefs_clone.go types/persist: split controlclient.Persist into a small leaf package 3 years ago
prefs_test.go ipn: add hostname to Prefs.Pretty output 3 years ago
store.go wgkey: new package 3 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 4 years ago