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/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>
3 years ago
..
interfaces.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 3 years ago
interfaces_darwin.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 3 years ago
interfaces_darwin_test.go net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 3 years ago
interfaces_default_route_test.go all: gofmt with Go 1.17 3 years ago
interfaces_defaultrouteif_todo.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 3 years ago
interfaces_linux.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 3 years ago
interfaces_linux_test.go net/interface: add AWS App Runner /proc/net/route test 3 years ago
interfaces_test.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 3 years ago
interfaces_windows.go net/interfaces: define DefaultRouteInterface and State.DefaultRouteInterface 3 years ago
interfaces_windows_test.go net/interfaces: quiet PAC detection logging in no-PAC case, add benchmark 4 years ago