mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2025-01-08 00:38:23 +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
259 B
Plaintext
2 lines
259 B
Plaintext
1 17:59:40.591932 IP6 (flowlabel 0x8f8b8, hlim 64, next-header Routing (43) payload length: 1088) 12::1 > 2::f1:0: RT6 (len=6, type=4, segleft=2, last-entry=2, flags=0x0, tag=0, [0]b2::2, [1]3::d6, [2]2::f1:0) 57745 > 5001: [udp sum ok] UDP, length 1024
|