Handle frames where the type field is a length field.
authorGuy Harris <guy@alum.mit.edu>
Mon, 18 Jan 2016 00:45:38 +0000 (16:45 -0800)
committerGuy Harris <guy@alum.mit.edu>
Mon, 18 Jan 2016 00:46:10 +0000 (00:46 +0000)
commita5cc29b245e2509d5451caa653e0cf83bee56782
treecdacc21c76c99d96fe1f3b51c104dd7d52592915
parent5c440ae89692669685518fa72bd99b8ffe5aaa5e
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@alum.mit.edu>
epan/dissectors/packet-btbnep.c