]> Cypherpunks repositories - gostls13.git/commit
net: allow LookupAddr to use getnameinfo when cgo is enabled
authorMikio Hara <mikioh.mikioh@gmail.com>
Wed, 28 Jan 2015 11:08:41 +0000 (20:08 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Wed, 17 Jun 2015 00:28:31 +0000 (00:28 +0000)
commit99f5f796d9e689befdd27f5563e28cd49dcc1567
tree800f976dc851e62ca3110798450a3fff01cdc463
parentdeb6c5b9200137423b9c594ff6a03bcc848a852e
net: allow LookupAddr to use getnameinfo when cgo is enabled

This change allows LookupAddr to use getnameinfo through cgo for working
together with various name services other than DNS.

Fixes #7855.

Change-Id: I5b3b4aefe3d1b904541c3350865734d8cbb1c1c4
Reviewed-on: https://go-review.googlesource.com/3420
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/cgo_resnew.go [new file with mode: 0644]
src/net/cgo_resold.go [new file with mode: 0644]
src/net/cgo_socknew.go [new file with mode: 0644]
src/net/cgo_sockold.go [new file with mode: 0644]
src/net/cgo_stub.go
src/net/cgo_unix.go
src/net/dnsclient_unix.go
src/net/lookup_test.go
src/net/lookup_unix.go