Update the output of some tests accordingly.
Moreover:
Add a ndo_protocol assignment in pimv2_print().
}
return;
trunc:
- ND_PRINT("[|pim]");
+ nd_print_trunc(ndo);
return;
}
return;
trunc:
- ND_PRINT("[|pim]");
+ nd_print_trunc(ndo);
return;
}
return;
trunc:
- ND_PRINT("[|autorp]");
+ nd_print_trunc(ndo);
return;
}
return;
trunc:
- ND_PRINT("[|pim]");
+ nd_print_trunc(ndo);
return;
}
u_int pim_typever;
u_int pimv2_addr_len;
+ ndo->ndo_protocol = "pimv2";
if (len < 2)
goto trunc;
ND_TCHECK_1(pim->pim_rsv);
return;
trunc:
- ND_PRINT("[|pim]");
+ nd_print_trunc(ndo);
}
IP (tos 0x30, ttl 48, id 12336, offset 0, flags [DF], proto PIM (103), length 12336, bad cksum 3030 (->2947)!)
48.48.48.48 > 48.48.48.48: PIMv2, length 12316
Hello, RFC2117-encoding, cksum 0x3030 (unverified)
- Unknown Option (12336), length 12336, Value: [|pim]
+ Unknown Option (12336), length 12336, Value: [|pimv2]
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0010: 3030 3030 3030 3030 00000000
-IP 48.48.48.48 > 48.48.48.48: igmp pimv1 [type 48][|pim]
+IP 48.48.48.48 > 48.48.48.48: igmp pimv1 [type 48] [|pimv1]
IP6 (class 0x76, flowlabel 0xf6767, hlim 109, next-header PIM (103) payload length: 13927) 6767:ff:ffff:ff67:6767:6778:6767:6767 > 6700:7f:e664:24:2424:2424:2424:25eb: PIMv2, length 13927
Register, RFC2117-encoding, cksum 0x4e23 (unverified), Flags [ none ]
- [|pim]
+ [|pimv2]
[Invalid header: caplen==0]
[Invalid header: len==0]
IP (tos 0x0, ttl 47, id 40445, offset 0, flags [+, DF, rsvd], proto PIM (103), length 8744, bad cksum a (->9c6e)!)
22.3.2.7 > 54.0.0.249: PIMv2, length 8724
Register, RFC2117-encoding, cksum 0x0e00 (unverified), Flags [ none ]
- [|pim]
+ [|pimv2]
IP6 (class 0x76, flowlabel 0xf6767, hlim 103, next-header PIM (103) payload length: 30209) 6767:6767::1:ff:ff00 > 4501:5:1400::1300:33ed:1ee: PIMv2, length 30209
Register, cksum 0x000f (unverified), Flags [ none ]
- [|pim]
+ [|pimv2]
7e:c0:c1:c0:a0:ff > 00:0c:fb:4d:20:96, ethertype Unknown (0x7f08), length 262144:
0x0000: 0000 ..
04:01:0b:00:00:d7 > 00:00:00:00:00:00, ethertype Unknown (0xffff), length 262144:
IP6 (class 0x76, flowlabel 0xf6767, hlim 109, next-header PIM (103) payload length: 30311) 6767:6767:6767:8267:6767:6765:6767:6767 > 6700:80:74:24:2424:2424:2424:2509: PIMv2, length 30311
- Bootstrap, RFC2117-encoding[|pim]
+ Bootstrap, RFC2117-encoding [|pimv2]
Unknown Option (0), length 0, Value:
Generation ID Option (20), length 0, Value: ERROR: Option Length != 4 Bytes (0)
Unknown Option (0), length 0, Value:
- Generation ID Option (20), length 0, Value: ERROR: Option Length != 4 Bytes (0)[|pim]
+ Generation ID Option (20), length 0, Value: ERROR: Option Length != 4 Bytes (0) [|pimv2]
DR Priority Option (19), length 4, Value: 1
0x0000: 0000 0001
State Refresh Capability Option (21), length 2, Value: ERROR: Option Length != 4 Bytes (2)
- 0x0000: 0069[|pim]
+ 0x0000: 0069 [|pimv2]