aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2015-07-24 21:13:09 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2015-07-24 22:00:23 +0000
commiteab13bbfdb4a6df28fb04dd92499ec03a3985526 (patch)
tree5e68104495505fd0e69eec4177da37f8c77c1f84
parentd9eac8b368e4f8798f97c89425709a1f0b03781c (diff)
downloadnet-eab13bbfdb4a6df28fb04dd92499ec03a3985526.tar.gz
ipv6: update icmp parameters
Change-Id: I64d082c33367f754889f7ffff68c2c9daca93d9a Reviewed-on: https://go-review.googlesource.com/12650 Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r--ipv6/iana.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipv6/iana.go b/ipv6/iana.go
index a3e10bc..3c6214f 100644
--- a/ipv6/iana.go
+++ b/ipv6/iana.go
@@ -3,7 +3,7 @@
package ipv6
-// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2014-09-22
+// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2015-07-07
const (
ICMPTypeDestinationUnreachable ICMPType = 1 // Destination Unreachable
ICMPTypePacketTooBig ICMPType = 2 // Packet Too Big
@@ -39,9 +39,10 @@ const (
ICMPTypeILNPv6LocatorUpdate ICMPType = 156 // ILNPv6 Locator Update Message
ICMPTypeDuplicateAddressRequest ICMPType = 157 // Duplicate Address Request
ICMPTypeDuplicateAddressConfirmation ICMPType = 158 // Duplicate Address Confirmation
+ ICMPTypeMPLControl ICMPType = 159 // MPL Control Message
)
-// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2014-09-22
+// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2015-07-07
var icmpTypes = map[ICMPType]string{
1: "destination unreachable",
2: "packet too big",
@@ -77,4 +78,5 @@ var icmpTypes = map[ICMPType]string{
156: "ilnpv6 locator update message",
157: "duplicate address request",
158: "duplicate address confirmation",
+ 159: "mpl control message",
}