diff options
author | Phil Sutter <phil@nwl.cc> | 2019-07-25 17:19:13 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-07-29 15:17:51 +0200 |
commit | 719940f6f48d98f5b7aebe7562948f2cff6f5cf8 (patch) | |
tree | c96bbc6f279781750603584e0fbfb0b8f43eb55a /m4 | |
parent | d76475ce1c30f6c3e3f3ca85964bdfc4425acb81 (diff) |
nft: Set errno in nft_rule_flush()
When trying to flush a non-existent chain, errno gets set in
nft_xtables_config_load(). That is an unintended side-effect and when
support for xtables.conf is later removed, iptables-nft will emit the
generic "Incompatible with this kernel." error message instead of "No
chain/target/match by that name." as it should.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions