tailscale/net/interfaces
Andrew Dunham 226486eb9a net/interfaces: handle removed interfaces in State.Equal
This wasn't previously handling the case where an interface in s2 was
removed and not present in s1, and would cause the Equal method to
incorrectly return that the states were equal.

Updates tailscale/corp#19124

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I3af22bc631015d1ddd0a1d01bfdf312161b9532d
2024-04-17 10:34:40 -04:00
..
defaultroute_bsd.go net/interfaces: handle iOS network transitions (#10680) 2024-01-04 09:40:18 -08:00
defaultroute_ios.go net/interfaces: reduce & cleanup logs on iOS 2024-02-23 16:37:06 -08:00
interfaces_bsd.go net/interfaces: handle iOS network transitions (#10680) 2024-01-04 09:40:18 -08:00
interfaces_darwin_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
interfaces_darwin.go ipn/ipnlocal: add delegated interface information to /interfaces PeerAPI handler 2023-02-27 09:39:49 -08:00
interfaces_default_route_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
interfaces_defaultrouteif_todo.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
interfaces_freebsd.go net/interfaces: redo how we get the default interface on macOS and iOS 2023-02-10 16:23:37 -08:00
interfaces_linux_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
interfaces_linux.go net/interfaces: better handle multiple interfaces in LikelyHomeRouterIP 2023-12-20 15:33:58 -05:00
interfaces_test.go net/interfaces: handle removed interfaces in State.Equal 2024-04-17 10:34:40 -04:00
interfaces_windows_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
interfaces_windows.go net/interfaces: better handle multiple interfaces in LikelyHomeRouterIP 2023-12-20 15:33:58 -05:00
interfaces.go net/interfaces: handle removed interfaces in State.Equal 2024-04-17 10:34:40 -04:00