aboutsummaryrefslogtreecommitdiff
path: root/src/net/ipsock_posix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ipsock_posix.go')
-rw-r--r--src/net/ipsock_posix.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/net/ipsock_posix.go b/src/net/ipsock_posix.go
index f4fab3f9aa..ff280c3e4e 100644
--- a/src/net/ipsock_posix.go
+++ b/src/net/ipsock_posix.go
@@ -12,13 +12,6 @@ import (
"syscall"
)
-// BUG(rsc,mikio): On DragonFly BSD and OpenBSD, listening on the
-// "tcp" and "udp" networks does not listen for both IPv4 and IPv6
-// connections. This is due to the fact that IPv4 traffic will not be
-// routed to an IPv6 socket - two separate sockets are required if
-// both address families are to be supported.
-// See inet6(4) for details.
-
func probeIPv4Stack() bool {
s, err := socketFunc(syscall.AF_INET, syscall.SOCK_STREAM, syscall.IPPROTO_TCP)
switch err {