diff --git a/icmp/listen_stub.go b/icmp/listen_stub.go index 668728d1..6b77ab48 100644 --- a/icmp/listen_stub.go +++ b/icmp/listen_stub.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build nacl plan9 +// +build js nacl plan9 package icmp diff --git a/icmp/message.go b/icmp/message.go index 46fe95ab..c9329a2f 100644 --- a/icmp/message.go +++ b/icmp/message.go @@ -25,7 +25,7 @@ import ( "golang.org/x/net/ipv6" ) -// BUG(mikio): This package is not implemented on NaCl and Plan 9. +// BUG(mikio): This package is not implemented on JS, NaCl and Plan 9. var ( errMessageTooShort = errors.New("message too short")