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
Mihai Parparita 316523cc1e
ipn: remove enforceDefaults option from PrefsFromBytes
The Mac client was using it, but it had the effect of the `RouteAll`
("Use Tailscale subnets") pref always being enabled at startup,
regardless of the persisted value.

enforceDefaults was added to handle cases from ~2 years ago where
we ended up with persisted `"RouteAll": false` values in the keychain,
but that should no longer be a concern. New users will get the default
of it being enabled via `NewPrefs`.

There will be a corresponding Mac client change to stop passing in
enforceDefaults.

For #3962

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
3 years ago
..
ipnlocal ipn: remove enforceDefaults option from PrefsFromBytes 3 years ago
ipnserver all: use any instead of interface{} 3 years ago
ipnstate tailcfg, control/controlclient: TSMP & disco pings 3 years ago
localapi cmd/tailscale, etc: make "tailscale up --ssh" fail fast when unavailable 3 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 3 years ago
store util/mak: move tailssh's mapSet into a new package for reuse elsewhere 3 years ago
backend.go ipn: use key.NodePublic instead of tailcfg.NodeKey 3 years ago
doc.go Move Linux client & common packages into a public repo. 5 years ago
fake_test.go ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up 4 years ago
handle.go ipn: another controlplane synonym 3 years ago
message.go ipn: add IPCVersion override func 3 years ago
message_test.go all: use any instead of interface{} 3 years ago
prefs.go ipn: remove enforceDefaults option from PrefsFromBytes 3 years ago
prefs_clone.go wgengine/netstack: add an SSH server experiment 3 years ago
prefs_test.go ipn: remove enforceDefaults option from PrefsFromBytes 3 years ago
store.go ipn/store: add common package for instantiating ipn.StateStores 3 years ago