Skip to content

Conversation

zigmund
Copy link

@zigmund zigmund commented Jul 16, 2025

Replaced Source and Destination fields in Stat with separate struct wrapping net.IPNet with inverse flag (! symbol in iptables). Fixes parsing for such rules with inverted source/destination matching. Only StructuredStats call is affected with the change.

Fixes: #109

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.

StructuredStats fails to parse negated source/dest CIDRs

1 participant