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(ipset): change ipset attr line number to be32 #1205

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

oryaacov
Copy link
Contributor

@oryaacov oryaacov commented Aug 13, 2024

reason:
Since I wish to support add multiple ip address in one request, as ipset restore does, using nested attributes, the IPSET_ATTR_LINENO is required, and his correct data type should be be32
as you can see in netlink's header file:

[IPSET_ATTR_LINENO] = { .type = NLA_U32 },

@svinota svinota merged commit 1f60be2 into svinota:master Aug 15, 2024
18 checks passed
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