-
Notifications
You must be signed in to change notification settings - Fork 138
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
AddSet silently fails (!) when adding IP addresses with too many bytes (without To4() call) #128
Comments
I haven’t had a chance to look at your code yet, but I’m using this package on Linux 5.14.1 (latest kernel release) without any issues. |
my previous kernel version was 5.4.0-77-generic so i've decided to update my kernel to 5.14.2-051402-generic but the problem |
This part of your code:
…is missing a
When I change that, it works. I don’t know why no error message is generated with the wrong code, though :-/ |
@stapelberg indeed now the program work just fine thank you so much. |
Probably because it doesn't check for the length of the []byte but just takes the first 4 (and the 8.8.8.8 are in the last 4). |
Hi am facing trouble when using this package i can't load my rule this is my code :
after executing my code and run the following command : sudo nft list ruleset i expect to found my configured config but i found nothing. is this a compatibility problem ?
The text was updated successfully, but these errors were encountered: