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

Set userdata fix #180

Merged
merged 1 commit into from
Aug 30, 2022
Merged

Set userdata fix #180

merged 1 commit into from
Aug 30, 2022

Conversation

turekt
Copy link
Contributor

@turekt turekt commented Aug 30, 2022

Hi,

I have added a small change to set marshaling logic since I have noticed that nftables source code adds a default TLV structure which specifies the key byte order in their add set implementation: https://git.netfilter.org/nftables/tree/src/mnl.c?id=187c6d01d35722618c2711bbc49262c286472c8f#n1165

This also partially fixes issue #177 where sets act strangely when specified set type is a bit more "complex".

Adds user data order bytes to set message
@stapelberg stapelberg merged commit 64ce059 into google:main Aug 30, 2022
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.

2 participants