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

fix single ip template case #106

Merged
merged 2 commits into from
Oct 8, 2022
Merged

fix single ip template case #106

merged 2 commits into from
Oct 8, 2022

Conversation

lspgn
Copy link
Member

@lspgn lspgn commented Jul 28, 2022

Closes #105

Certain devices send a single template for both IPv4 and IPv6 traffic.
This checks for length of the address before setting the protobuf field.
In the case where the IP addresses are absent, the IP_PROTOCOL_VERSION/ipVersion (field: 60) is used to set the Ethernet type.

@lspgn lspgn added bug Something isn't working proto Related to the schema file labels Jul 28, 2022
@lspgn lspgn mentioned this pull request Jul 28, 2022
@lspgn lspgn merged commit e3471e5 into main Oct 8, 2022
@lspgn lspgn deleted the bug/single-ip-template branch October 8, 2022 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working proto Related to the schema file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPFix data only on IPv6 ?
1 participant