Wireshark-commits: [Wireshark-commits] master a5cc29b: Handle frames where the type field is a leng
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a5cc29b245e2509d5451caa653e0cf83bee56782
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
a5cc29b by Guy Harris (guy@xxxxxxxxxxxx):
Handle frames where the type field is a length field.
The BNEP Version 1.0 spec says, for BNEP_GENERAL_ETHERNET packets,
"Note: Networking Protocol Types as used in this specification SHALL be
taken to include values in the range 0x0000-0x05dc, used to represent
the IEEE802.3 length interpretation of the IEEE802.3 length/type
field.", although it says that it's not mandatory to process those
packets.
We'll process them.
We don't need an Ethernet dissector handle, so don't fetch one.
Change-Id: I10b1fce62688fc0643435d0a01bdb969577df97e
Reviewed-on: https://code.wireshark.org/review/13376
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 5c440ae Fix indentation.
adds a5cc29b Handle frames where the type field is a length field.
Summary of changes:
epan/dissectors/packet-btbnep.c | 147 +++++++++++++++++++++++++++++++++------
1 file changed, 127 insertions(+), 20 deletions(-)