We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ipset
Manually create an ipset named my-special-ipset
my-special-ipset
Run the following code:
err := netlink.IpsetCreate("my-special-ipset, "hash:ip", netlink.IpsetCreateOptions{Comments: true, Replace: true, Family: family}) log.Debugf("IPSET ERROR IS: %s", err) if err == nl.IPSetError(nl.IPSET_ERR_EXIST) { return nil }
IPSET ERROR IS: file exists
The text was updated successfully, but these errors were encountered:
I suspect this is the result of an early return that basically skips error mapping:
netlink/ipset_linux.go
Line 410 in d13535d
Sorry, something went wrong.
No branches or pull requests
Manually create an ipset named
my-special-ipset
Run the following code:
IPSET ERROR IS: file exists
The text was updated successfully, but these errors were encountered: