diff options
author | Phil Sutter <phil@nwl.cc> | 2018-12-30 20:06:10 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-01-11 14:06:33 +0100 |
commit | 41358d474357a39d616302c03cd7f943e19969a2 (patch) | |
tree | cb298ebb6d8a54ae1ecd2581ea7601e2021f9b19 /extensions/libip6t_SNAT.txlate | |
parent | 4441b7da7995ed87741164ef39e99f1065eb9637 (diff) |
xtables: Set errno in nft_rule_check() if chain not found
With this, the explicit check for chain existence can be removed from
xtables.c since all related commands do this now.
Note that this effectively changes the error message printed by
iptables-nft when given a non-existing chain, but the new error
message(s) conform with those printed by legacy iptables.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libip6t_SNAT.txlate')
0 files changed, 0 insertions, 0 deletions