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/ipnlocal
Brad Fitzpatrick 01e159b610 ipn/ipnlocal: save prefs to disk on UpdatePrefs
Regression from 6d10655dc3, which added
UpdatePrefs but didn't write it out to disk.

I'd planned on adding tests to state_test.go which is why I'd earlier
added 46896a9311 to prepare for making
such persistence tests easier to write, but turns out state_test.go
didn't even test UpdatePrefs, so I'm staying out of there.
Instead, this is tested using integration tests.

Fixes #2321

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
local.go ipn/ipnlocal: save prefs to disk on UpdatePrefs 3 years ago
local_test.go all: adapt to opaque netaddr types 4 years ago
loglines_test.go types/logger: add key grinder stats lines to rate-limiting exemption list 4 years ago
peerapi.go all: adapt to opaque netaddr types 4 years ago
peerapi_macios_ext.go net/dns{,/resolver}: refactor DNS forwarder, send out of right link on macOS/iOS 3 years ago
peerapi_test.go ipn/ipnlocal: use delete marker files to work around Windows delete problems 4 years ago
state_test.go ipn/ipnlocal: start to test whether all state transitions save prefs to disk 3 years ago