aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-02-23 19:57:09 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-02-23 19:57:09 +0000
commite6837f14d463998df7b8cb71d4408e60b8a73fb0 (patch)
treecf159b47b147e51f4d98861a647507e843727822 /epan
parent48c58e1b633ba763b98335e159687f7408f6f93f (diff)
Correct a typo and at least print the name of type 148 and 149.
svn path=/trunk/; revision=24445
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-icmpv6.c10
-rw-r--r--epan/dissectors/packet-ipv6.h9
2 files changed, 15 insertions, 4 deletions
diff --git a/epan/dissectors/packet-icmpv6.c b/epan/dissectors/packet-icmpv6.c
index 0ac368456e..c3f2d18484 100644
--- a/epan/dissectors/packet-icmpv6.c
+++ b/epan/dissectors/packet-icmpv6.c
@@ -1433,6 +1433,16 @@ dissect_icmpv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
codename = "Should always be zero";
colcodename = NULL;
break;
+ case ICMP6_CERT_PATH_SOL:
+ typename = coltypename = "Certification Path Solicitation";
+ codename = "Should always be zero";
+ colcodename = NULL;
+ break;
+ case ICMP6_CERT_PATH_AD:
+ typename = coltypename = "Certification Path Advertisement";
+ codename = "Should always be zero";
+ colcodename = NULL;
+ break;
case ICMP6_MLDV2_REPORT:
typename = coltypename = "Multicast Listener Report Message v2";
codename = "Should always be zero";
diff --git a/epan/dissectors/packet-ipv6.h b/epan/dissectors/packet-ipv6.h
index cd3fce5ac2..ab75372c09 100644
--- a/epan/dissectors/packet-ipv6.h
+++ b/epan/dissectors/packet-ipv6.h
@@ -271,9 +271,10 @@ struct icmp6_hdr {
#define ICMP6_MIP6_DHAAD_REQUEST 144 /* Mobile IPv6 DHAAD */
#define ICMP6_MIP6_DHAAD_REPLY 145 /* Mobile IPv6 DHAAD */
-#define ICMP6_MIP6_MPS 146 /* Mobile IPv6 MPS */
-#define ICMP6_MIP6_MPA 147 /* Mobile IPv6 MPA */
-
+#define ICMP6_MIP6_MPS 146 /* Mobile IPv6 MPS */
+#define ICMP6_MIP6_MPA 147 /* Mobile IPv6 MPA */
+#define ICMP6_CERT_PATH_SOL 148 /* Certification Path Solicitation Message [RFC3971] */
+#define ICMP6_CERT_PATH_AD 149 /* Certification Path Advertisement Message [RFC3971] */
#define ICMP6_MAXTYPE 153
#define ICMP6_DST_UNREACH_NOROUTE 0 /* no route to destination */
@@ -417,7 +418,7 @@ struct nd_opt_hdr { /* Neighbor discovery option header */
#define ND_OPT_CGA 11
#define ND_OPT_RSA 12
-#define ND_OPT_TIMESTAMP 14
+#define ND_OPT_TIMESTAMP 13
/*
14 Nonce option [RFC3971]