]> The Tcpdump Group git mirrors - tcpdump/commitdiff
SRv6: Add a test output without '-e'
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 7 Aug 2020 16:19:34 +0000 (18:19 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 7 Aug 2020 18:31:29 +0000 (20:31 +0200)
This is a follow-up to commit 1103418a18d71c0fe448c0459a42ff1bc20bb0dc.

tests/TESTLIST
tests/ipv6-srh-ipproto-ether-ev.out [moved from tests/ipv6-srh-ipproto-ether.out with 100% similarity]
tests/ipv6-srh-ipproto-ether-v.out [new file with mode: 0644]

index 8da3626906b701203eacce00b1140ec83fa79257..b4d6583e57a15dda830459d78849bbe30c9a4857 100644 (file)
@@ -285,7 +285,8 @@ ipv6-bad-version    ipv6-bad-version.pcap   ipv6-bad-version.out
 ipv6-routing-header    ipv6-routing-header.pcap        ipv6-routing-header.out -v
 ipv6-srh-ext-header    ipv6-srh-ext-header.pcap        ipv6-srh-ext-header.out -v
 ipv6-srh-insert-cksum  ipv6-srh-insert-cksum.pcap      ipv6-srh-insert-cksum.out -v
-ipv6-srh-ipproto-ether ipv6-srh-ipproto-ether.pcap     ipv6-srh-ipproto-ether.out -ev
+ipv6-srh-ipproto-ether-v ipv6-srh-ipproto-ether.pcap ipv6-srh-ipproto-ether-v.out -v
+ipv6-srh-ipproto-ether-ev ipv6-srh-ipproto-ether.pcap ipv6-srh-ipproto-ether-ev.out -ev
 # Loopback/CTP test case
 loopback       loopback.pcap           loopback.out
 
diff --git a/tests/ipv6-srh-ipproto-ether-v.out b/tests/ipv6-srh-ipproto-ether-v.out
new file mode 100644 (file)
index 0000000..8c8b217
--- /dev/null
@@ -0,0 +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