Closed kylekeppler closed 5 years ago
This addresses issue #442.
Proposed solution:
Check for ethtype == 0 and handle as Ethernet II instead of IEEE 802.3 Ethernet - LLC. This is what Wireshark does.
ethtype == 0
Ethernet II
IEEE 802.3 Ethernet - LLC
Looks like I broke a LLC test. I'll look into if that was a valid test case originally.
Coverage increased (+0.04%) to 88.937% when pulling 805fdf59c2b3db28110597a3e68f3dadaa0b3d9f on kylekeppler:bugfix/zero-ethtype into 3b92c49e7e2691ff6fa3dff87b7925691a501ae9 on kbandla:master.
Good work. Thanks!
This addresses issue #442.
Proposed solution:
Check for
ethtype == 0
and handle asEthernet II
instead ofIEEE 802.3 Ethernet - LLC
. This is what Wireshark does.