diff options
author | Guy Harris <guy@alum.mit.edu> | 2020-05-08 18:20:03 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-05-09 03:14:50 +0000 |
commit | 7e7db3e91ce50f1f3ba35f88aff83c66b5f9bf97 (patch) | |
tree | ddeaf077db64366f56d97c3579ee8ed451a7e3c1 /test | |
parent | 2480d9b69a9f416a6a3836def1479c66fec8d7b9 (diff) |
sll: add support for LINKTYPE_LINUX_SLL2.
Different header, with a different size, an additional field, and with
fields being in a different order.
Distinguish between V1 and V2 by giving the version.
That means we can no longer use the "ethertype" dissector as it stands,
because the packet type field isn't at the end of the header, right
before the payload; pull the "add the type field to the protocol tree"
functionality out of the "ethertype" dissector and leave it up to the
dissector calling it.
Change-Id: I72b8a2483c0a539919fbe5d35fd7e60bff4bf75a
Reviewed-on: https://code.wireshark.org/review/37169
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/suite_text2pcap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite_text2pcap.py b/test/suite_text2pcap.py index 79bd1397fe..915109b2db 100644 --- a/test/suite_text2pcap.py +++ b/test/suite_text2pcap.py @@ -32,7 +32,7 @@ file_type_to_testout = { encap_to_link_type = { 'Ethernet': 1, 'Raw IP': 14, - 'Linux cooked-mode capture': 113, + 'Linux cooked-mode capture v1': 113, 'IEEE 802.11 plus radiotap radio header': 127, 'DVB-CI (Common Interface)': 235, } |