]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: Fix for explicit rule flushes
authorPhil Sutter <phil@nwl.cc>
Mon, 13 May 2019 16:32:37 +0000 (18:32 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 20 May 2019 18:57:40 +0000 (20:57 +0200)
commitbb63d9af216a04f91f584e161e97a37b4e6fa096
tree126ab08b2f9a9d33a15a6603d99832e72806e7e0
parentf6ad231d698c7c091371264d8d1881cbb9cf0ba1
xtables: Fix for explicit rule flushes

The commit this fixes added a new parameter to __nft_rule_flush() to
mark a rule flush job as implicit or not. Yet the code added to that
function ignores the parameter and instead always sets batch job's
'implicit' flag to 1.

Fixes: 77e6a93d5c9dc ("xtables: add and set "implict" flag on transaction objects")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft.c