Skip to content

Fix Dot1Q metadata extraction - #561

Open
Aritra-Das-c-source wants to merge 1 commit into
mfontanini:masterfrom
Aritra-Das-c-source:fix-dot1q-extract-metadata
Open

Fix Dot1Q metadata extraction#561
Aritra-Das-c-source wants to merge 1 commit into
mfontanini:masterfrom
Aritra-Das-c-source:fix-dot1q-extract-metadata

Conversation

@Aritra-Das-c-source

Copy link
Copy Markdown

Fix Dot1Q::extract_metadata() to determine the next PDU type from the
EtherType stored in the Dot1Q header.

Previously, Dot1Q::extract_metadata() always returned PDU::UNKNOWN as
the next PDU type, even when the EtherType identified a known protocol.

Added a regression test covering Dot1Q containing an IPv4 PDU.

Fixes #558

All 62 tests pass.

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.

Dot1Q::extract_metadata always returns UNKNOWN

1 participant