mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
While IP addresses are not domain names and probably shouldn't be passed to these functions at all, it seems wrong to have it handle IPv4 and IPv6 differently. Fixes golang/go#32979 Change-Id: Id321a08b552c11d990c3966636b64793f762143f Reviewed-on: https://go-review.googlesource.com/c/net/+/715100 Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>