diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-09-10 15:49:09 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-09-10 17:19:52 +0200 |
commit | 8a776c2410fb4ff349d982fcf187924351c4b9b0 (patch) | |
tree | 233846b27a1c677dabf38f9321242112e81e2ec5 /tests/ipv6-srh-ipproto-ether-v.out | |
parent | 49894b4155621ddab434d74d40378e3602fbb212 (diff) | |
download | tcpdump-8a776c2410fb4ff349d982fcf187924351c4b9b0.tar.gz |
RT6: Update some printings for coherency
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().
Diffstat (limited to 'tests/ipv6-srh-ipproto-ether-v.out')
-rw-r--r-- | tests/ipv6-srh-ipproto-ether-v.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ipv6-srh-ipproto-ether-v.out b/tests/ipv6-srh-ipproto-ether-v.out index 8c8b2178..2d6664e6 100644 --- a/tests/ipv6-srh-ipproto-ether-v.out +++ b/tests/ipv6-srh-ipproto-ether-v.out @@ -1 +1 @@ - 1 15:07:04.802036 IP6 (flowlabel 0xde027, hlim 63, next-header Routing (43) payload length: 142) a::1 > c::2: srcrt (len=2, type=4, segleft=0, last-entry=0, flags=0x0, tag=0, [0]c::2) IP6 (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 + 1 15:07:04.802036 IP6 (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) IP6 (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 |