]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: homogenize error message
authorArushi Singhal <arushisinghal19971997@gmail.com>
Sun, 27 May 2018 13:09:01 +0000 (18:39 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 May 2018 22:05:37 +0000 (00:05 +0200)
commitb1b828ff23e5d35d13daa3bf67071fb515e5c86f
treed519b35e4c5a3a8c0e3153a77ea92a50462463bf
parent4caa559c44cde7af7794937bd5c7e5f704a483ca
xtables: homogenize error message

There is a difference between error messages in iptables and
iptables-compat:

 # iptables-compat -D INPUT 4
 iptables: No chain/target/match by that name.

 # iptables -D INPUT 4
 iptables: Index of deletion too big.

Now, will show same error message.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft.c