aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikio Hara <mikioh.public.networking@gmail.com>2019-01-10 05:14:40 +0900
committerMikio Hara <mikioh.public.networking@gmail.com>2019-01-10 04:47:18 +0000
commit94d9a2045398b471c8aec0b701cad06536e049b3 (patch)
tree70ade6ea1519fc3ad3b07644c748cf4882e52013
parent9aa2c06cb5cb4603500e5fbc35385fe890c6779b (diff)
downloadgo-94d9a2045398b471c8aec0b701cad06536e049b3.tar.gz
go-94d9a2045398b471c8aec0b701cad06536e049b3.zip
net: drop confusing comment
On AIX, we don't need to be aware of any change on the protocol stack of Linux kernel. Change-Id: Ib8b14fa930acddb3bc720d401271e8daf567b784 Reviewed-on: https://go-review.googlesource.com/c/157298 Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r--src/net/sockopt_aix.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net/sockopt_aix.go b/src/net/sockopt_aix.go
index 6fb207fc92..b49c4d5c7c 100644
--- a/src/net/sockopt_aix.go
+++ b/src/net/sockopt_aix.go
@@ -9,8 +9,6 @@ import (
"syscall"
)
-// This was copied from sockopt_linux.go
-
func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
// Allow both IP versions even if the OS default