]> The Tcpdump Group git mirrors - tcpdump/commit
erspan: handle the Type III frame type field.
authorGuy Harris <[email protected]>
Wed, 22 May 2024 07:26:13 +0000 (00:26 -0700)
committerGuy Harris <[email protected]>
Wed, 22 May 2024 18:52:56 +0000 (11:52 -0700)
commit4b6535c921d0323245ae8e75d9feb464f23ab06a
treec186edcd226b5b2ad57d14fc170a9375416efe07
parent36b6a5d70c5c2c758a8889e0e869acddeb4aa880
erspan: handle the Type III frame type field.

Show its value and only dissect the payload as an Ethernet frame if it's
type 0, for Ethernet.

Add a test file for frame type 0, rename the existing file to
indicate that it uses the unknown frame type 7 (which ain't Ethernet),
and regenerate that file.
print-erspan.c
tests/TESTLIST
tests/erspan-type-iii-ft-0.out [new file with mode: 0644]
tests/erspan-type-iii-ft-0.pcap [new file with mode: 0644]
tests/erspan-type-iii-ft-7.out [moved from tests/erspan-type-iii-1.out with 54% similarity]
tests/erspan-type-iii-ft-7.pcap [moved from tests/erspan-type-iii-1.pcap with 100% similarity]