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
Andrew Dunham 12100320d2 net/interfaces: always return an IPv4 LikelyHomeRouterIP
We weren't filtering out IPv6 addresses from this function, so we could
be returning an IPv4 gateway IP and an IPv6 self IP. Per the function
comments, only return IPv4 addresses for the self IP.

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: If19a4aadc343fbd4383fc5290befa0eff006799e
1 year ago
..
interfaces.go net/interfaces: always return an IPv4 LikelyHomeRouterIP 1 year ago
interfaces_bsd.go net/interfaces: redo how we get the default interface on macOS and iOS 1 year ago
interfaces_darwin.go ipn/ipnlocal: add delegated interface information to /interfaces PeerAPI handler 1 year ago
interfaces_darwin_test.go all: update copyright and license headers 1 year ago
interfaces_default_route_test.go all: update copyright and license headers 1 year ago
interfaces_defaultrouteif_todo.go all: update copyright and license headers 1 year ago
interfaces_freebsd.go net/interfaces: redo how we get the default interface on macOS and iOS 1 year ago
interfaces_linux.go all: update copyright and license headers 1 year ago
interfaces_linux_test.go all: update copyright and license headers 1 year ago
interfaces_test.go all: update copyright and license headers 1 year ago
interfaces_windows.go all: update copyright and license headers 1 year ago
interfaces_windows_test.go all: update copyright and license headers 1 year ago