Browse Source

icmp: add port for aix/ppc64

Change-Id: I719dd53a949725b4d63ecba37fad530de731d568
Reviewed-on: https://go-review.googlesource.com/c/net/+/170560
Run-TryBot: Mikio Hara <mikioh.public.networking@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Mikio Hara <mikioh.public.networking@gmail.com>
chigotc 6 years ago
parent
commit
1f3472d942
4 changed files with 4 additions and 5 deletions
  1. 1 1
      icmp/helper_posix.go
  2. 1 1
      icmp/listen_posix.go
  3. 1 1
      icmp/listen_stub.go
  4. 1 2
      icmp/message.go

+ 1 - 1
icmp/helper_posix.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 // license that can be found in the LICENSE file.
 
 
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris windows
+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 
 package icmp
 package icmp
 
 

+ 1 - 1
icmp/listen_posix.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 // license that can be found in the LICENSE file.
 
 
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris windows
+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris windows
 
 
 package icmp
 package icmp
 
 

+ 1 - 1
icmp/listen_stub.go

@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 // license that can be found in the LICENSE file.
 
 
-// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
+// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
 
 
 package icmp
 package icmp
 
 

+ 1 - 2
icmp/message.go

@@ -25,8 +25,7 @@ import (
 	"golang.org/x/net/ipv6"
 	"golang.org/x/net/ipv6"
 )
 )
 
 
-// BUG(mikio): This package is not implemented on AIX, JS, NaCl and
-// Plan 9.
+// BUG(mikio): This package is not implemented on JS, NaCl and Plan 9.
 
 
 var (
 var (
 	errInvalidConn      = errors.New("invalid connection")
 	errInvalidConn      = errors.New("invalid connection")