tailscale/net/netcheck
Brad Fitzpatrick 90ba26cea1 net/netcheck: fix crash when IPv6 kinda but not really works
Looks like on some systems there's an IPv6 address, but then opening
a IPv6 UDP socket fails later. Probably some firewall. Tolerate it
better and don't crash.

To repro: check the "udp6" to something like "udp7" (something that'll
fail) and run "go run ./cmd/tailscale netcheck" on a machine with
active IPv6. It used to crash and now it doesn't.

Fixes #7949

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-04-22 17:53:39 -07:00
..
netcheck_test.go net/netcheck: reenable TestNodeAddrResolve on Windows 2023-04-17 12:41:56 -04:00
netcheck.go net/netcheck: fix crash when IPv6 kinda but not really works 2023-04-22 17:53:39 -07:00