Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle zero Eth Type #445

Merged
merged 3 commits into from
Feb 18, 2019
Merged

Conversation

kylekeppler
Copy link
Contributor

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.

…3 Ethernet - LLC. This is what Wireshark does.
@kylekeppler
Copy link
Contributor Author

Looks like I broke a LLC test. I'll look into if that was a valid test case originally.

@coveralls
Copy link

coveralls commented Jan 31, 2019

Coverage Status

Coverage increased (+0.04%) to 88.937% when pulling 805fdf5 on kylekeppler:bugfix/zero-ethtype into 3b92c49 on kbandla:master.

@obormot obormot merged commit 60954a1 into kbandla:master Feb 18, 2019
@obormot
Copy link
Collaborator

obormot commented Feb 18, 2019

Good work. Thanks!

obormot pushed a commit that referenced this pull request Apr 5, 2020
* Check for ethtype == 0 and handle as Ethernet II instead of IEEE 802.3 Ethernet - LLC. This is what Wireshark does.
* Move check for ethtype == 0 to after check for ISL protocol since ethtype == 0 is valid in ISL.
* Add unit test for zero ethtype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants