tailscale/net/interfaces
Brad Fitzpatrick 04c2c5bd80 net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface
It was pretty ill-defined before and mostly for logging. But I wanted
to start depending on it, so define what it is and make Windows match
the other operating systems, without losing the log output we had
before. (and add tests for that)

Change-Id: I0fbbba1cfc67a265d09dd6cb738b73f0f6005247
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-12-29 12:13:15 -08:00
..
interfaces_darwin_test.go net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 2021-07-26 20:30:28 -07:00
interfaces_darwin.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 2021-12-29 12:13:15 -08:00
interfaces_default_route_test.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
interfaces_defaultrouteif_todo.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 2021-12-29 12:13:15 -08:00
interfaces_linux_test.go net/interface: add AWS App Runner /proc/net/route test 2021-07-14 10:01:14 -07:00
interfaces_linux.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 2021-12-29 12:13:15 -08:00
interfaces_test.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 2021-12-29 12:13:15 -08:00
interfaces_windows_test.go net/interfaces: quiet PAC detection logging in no-PAC case, add benchmark 2020-10-01 22:02:39 -07:00
interfaces_windows.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 2021-12-29 12:13:15 -08:00
interfaces.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 2021-12-29 12:13:15 -08:00