]> git.ipfire.org Git - thirdparty/iptables.git/commit
iptables: Add missing error codes
authorJacek Tomasiak <jacek.tomasiak@gmail.com>
Tue, 23 Jan 2024 10:14:27 +0000 (11:14 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 24 Jan 2024 14:21:58 +0000 (15:21 +0100)
commit0a118c474924f05224b215cf38b7b3a19a9f0265
tree9daa03711b14198f30f678b209701af4654fcfc7
parentb1ae6a45c9f38a60a13d9ecb88dcbeb12e5d13e0
iptables: Add missing error codes

Without these, commands like `iptables -n -L CHAIN` sometimes print
"Incompatible with this kernel" instead of "No chain/target/match
by that name".

Signed-off-by: Jacek Tomasiak <jacek.tomasiak@gmail.com>
Signed-off-by: Jacek Tomasiak <jtomasiak@arista.com>
Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/nft.c