Skip to content

Set userdata fix#180

Merged
stapelberg merged 1 commit intogoogle:mainfrom
turekt:set-userdata-fix
Aug 30, 2022
Merged

Set userdata fix#180
stapelberg merged 1 commit intogoogle:mainfrom
turekt:set-userdata-fix

Conversation

@turekt
Copy link
Copy Markdown
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