]> The Tcpdump Group git mirrors - tcpdump/commitdiff
mistype of RPL type codes: off by one. fixed
authorMichael Richardson <[email protected]>
Fri, 31 Dec 2010 17:36:24 +0000 (12:36 -0500)
committerMichael Richardson <[email protected]>
Fri, 31 Dec 2010 17:36:24 +0000 (12:36 -0500)
print-icmp6.c
tests/dio.out

index 0655197c08acfb3800a3cac1a0820984cd889e5e..c8c06386f555e4fe362a7acc6d10dca102c6455d 100644 (file)
@@ -238,10 +238,10 @@ static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp,
 }
 
 enum ND_RPL_CODE {
-        ND_RPL_DIS   =0x01,
-        ND_RPL_DIO   =0x02,
-        ND_RPL_DAO   =0x03,
-        ND_RPL_DAO_ACK=0x04,
+        ND_RPL_DIS   =0x00,
+        ND_RPL_DIO   =0x01,
+        ND_RPL_DAO   =0x02,
+        ND_RPL_DAO_ACK=0x03,
         ND_RPL_SDIS  =0x80,
         ND_RPL_SDIO  =0x81,
         ND_RPL_SDAO  =0x82,
index 169081863c3724af4a924ab3a652c91f0b91f923..4f0c18942fa6b6b3c7fa25e7c871b1e4c79ccb95 100644 (file)
@@ -1 +1 @@
-IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) fe80::1000:ff:fe64:6423 > ff02::1: [icmp6 sum ok] ICMP6, RPL, (CLR)DODAG Information Object [seq:10,instance:42,rank:1,dagid:thisismynicedag1]
+IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) fe80::1000:ff:fe64:6423 > ff02::1: [icmp6 sum ok] ICMP6, RPL, (CLR)Destination Advertisement Object