aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_amd64.s
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-06-24 08:39:44 -0400
committerRuss Cox <rsc@golang.org>2015-06-24 15:16:36 +0000
commit222b23aae9213e0ccd442fc4be51b0a27b5621be (patch)
treec28848bc76994347e15846d07afcd3d31f6f16ed /src/runtime/sys_linux_amd64.s
parent0dccee6061aad469d196e4abd3eafe53b379275d (diff)
downloadgo-222b23aae9213e0ccd442fc4be51b0a27b5621be.tar.xz
net: make LookupIP("1.2.3.4") behavior consistent
To date, the behavior has depended on whether we're using cgo and in turn what the host resolver does. Most host resolvers will "resolve" IP addresses, but the non-cgo pure Go path has not. This CL makes resolution of IP addresses always work, even if we're not using cgo and even if the host resolver does not "resolve" IP addresses. Fixes #11335. Change-Id: I19e82be968154d94904bb2f72e9c17893019a909 Reviewed-on: https://go-review.googlesource.com/11420 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_amd64.s')
0 files changed, 0 insertions, 0 deletions