diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2025-09-20 16:14:44 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@tailscale.com> | 2025-09-20 16:18:18 -0700 |
| commit | ccf61f56f7ff89b74e6f830154a6f83d27d78d15 (patch) | |
| tree | a4c1fd964b98b8151af8a4d236dbdcc10c97a478 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | d7ec043306ed128e5c5f540e944371a98474f36c (diff) | |
| download | tailscale-ccf61f56f7ff89b74e6f830154a6f83d27d78d15.tar.xz tailscale-ccf61f56f7ff89b74e6f830154a6f83d27d78d15.zip | |
net/dnscache: fix case where Resolver could return zero IP with single IPv6 address
The controlhttp dialer with a ControlDialPlan IPv6 entry was hitting a
case where the dnscache Resolver was returning an netip.Addr zero
value, where it should've been returning the IPv6 address.
We then tried to dial "invalid IP:80", which would immediately fail,
at least locally.
Mostly this was causing spammy logs when debugging other stuff.
Updates tailscale/corp#32534
Change-Id: If8b9a20f10c1a6aa8a662c324151d987fe9bd2f8
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
