tailscale/wgengine
Brad Fitzpatrick 01ee638cca Change some os.IsNotExist to errors.Is(err, os.ErrNotExist) for non-os errors.
os.IsNotExist doesn't unwrap errors. errors.Is does.

The ioutil.ReadFile ones happened to be fine but I changed them so
we're consistent with the rule: if the error comes from os, you can
use os.IsNotExist, but from any other package, use errors.Is.
(errors.Is always would also work, but not worth updating all the code)

The motivation here was that we were logging about failure to migrate
legacy relay node prefs file on startup, even though the code tried
to avoid that.

See golang/go#41122
2020-11-02 08:33:34 -08:00
..
filter wgengine/filter: also silently drop link-local unicast traffic 2020-09-25 11:47:38 -07:00
magicsock wgengine/magicsock: make test pass on Windows and without firewall dialog box 2020-10-28 09:02:08 -07:00
monitor wgengine/monitor: fix copy/paste-o to actually monitor route changes 2020-10-09 09:04:26 -07:00
packet wgengine/filter: also silently drop link-local unicast traffic 2020-09-25 11:47:38 -07:00
router Change some os.IsNotExist to errors.Is(err, os.ErrNotExist) for non-os errors. 2020-11-02 08:33:34 -08:00
tsdns ipn, wgengine, magicsock, tsdns: be quieter and less aggressive when offline 2020-10-06 15:26:53 -07:00
tstun wgengine/tstun/faketun: it's a null tunnel, not a loopback. 2020-10-08 01:01:39 -04:00
winnet Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
userspace_test.go wgengine: fix lazy wireguard config bug when disco keys change 2020-10-13 12:10:51 -07:00
userspace.go wgengine: fix lazy wireguard config bug when disco keys change 2020-10-13 12:10:51 -07:00
watchdog_test.go wgengine: prevent log after exit in watchdog test 2020-07-03 10:52:39 -07:00
watchdog.go wgengine: add Engine.SetLinkChangeCallback 2020-08-27 21:25:17 -07:00
wgengine.go ipn, wgengine: disable subnet routes if network has PAC configuration 2020-10-05 21:04:23 -07:00