]> Cypherpunks repositories - gostls13.git/commit
net: make IPv6 capability test more suitable for address family selection on the...
authorMikio Hara <mikioh.mikioh@gmail.com>
Fri, 28 Mar 2014 04:27:51 +0000 (13:27 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Fri, 28 Mar 2014 04:27:51 +0000 (13:27 +0900)
commita05ffd85aa6f8cc532bd50df8dbdee8e8040afcc
treef0b406ec5554d913e91a017a72bb6e50b99b316f
parent753bdc0f47a4224387a31b92403ab543e9fbebfe
net: make IPv6 capability test more suitable for address family selection on the dual IP stack node

For now we strictly use IPV6_V6ONLY=1 for IPv6-only communications
and IPV6_V6ONLY=0 for both IPv4 and IPv6 communications. So let the
capability test do the same.

LGTM=iant
R=golang-codereviews, gobot, iant
CC=golang-codereviews
https://golang.org/cl/80140044
src/pkg/net/ipsock_posix.go