summaryrefslogtreecommitdiffstats
path: root/iptables/xtables.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-02-13 11:11:23 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-13 20:08:31 +0100
commiteed2c6af53ef69df493e8ace70e59096b2149917 (patch)
treedb0445f9cec37ff6921943a361c03db19b3dce7c /iptables/xtables.c
parent519f5bcd9c07e0092a1a019176c82fb3bfbd9ced (diff)
xtables: Fix error message when zeroing a non-existent chain
Previously, error message was a bit misleading: | # iptables-nft -Z noexist | iptables: Incompatible with this kernel. Set errno value so that the typical "No chain/target/match by that name." is printed instead. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xtables.c')
0 files changed, 0 insertions, 0 deletions