mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 10:33:28 +08:00
8a776c2410
s/srcrt/RT6/ In upper case (like 'IP6'), via a nd_print_protocol_caps() call. Before: srcrt (len=48, type=0, segleft=48 [|rt6] After: RT6 (len=48, type=0, segleft=48 [|rt6] rt6 choosen because it's in file name (print-rt6.c), function name (rt6_print) and set in ndo->ndo_protocol ("rt6"). Moreover: Print the protocol name even if the packet is truncated at the beginning. Use nd_print_trunc().
2 lines
476 B
Plaintext
2 lines
476 B
Plaintext
1 15:07:04.802036 be:f5:06:09:44:74 > d6:67:19:4e:0f:4f, ethertype IPv6 (0x86dd), length 196: (flowlabel 0xde027, hlim 63, next-header Routing (43) payload length: 142) a::1 > c::2: RT6 (len=2, type=4, segleft=0, last-entry=0, flags=0x0, tag=0, [0]c::2) ae:64:42:3b:5b:9a > 1e:1d:df:cd:54:7a, ethertype IPv6 (0x86dd), length 118: (flowlabel 0xde027, hlim 64, next-header ICMPv6 (58) payload length: 64) a::2 > e::2: [icmp6 sum ok] ICMP6, echo request, id 18516, seq 1339
|