summaryrefslogtreecommitdiffstats
path: root/iptables/nft-shared.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-07-19 18:31:58 +0200
committerFlorian Westphal <fw@strlen.de>2018-07-19 23:05:56 +0200
commit1bf73c4227459393029ab7b124ba74fe853d9413 (patch)
tree83762e0463a355ff8ef30ad1b97a528e5fa564c7 /iptables/nft-shared.c
parent1866625f0befbc04673017692813f48d084004ff (diff)
xtables: Use new callbacks in nft_rule_print_save()
This relieves callers from having to prepare iptables_command_state, which often happens just for the sake of passing it to this function. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft-shared.c')
-rw-r--r--iptables/nft-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c
index 87d48bf6..24287e97 100644
--- a/iptables/nft-shared.c
+++ b/iptables/nft-shared.c
@@ -933,7 +933,7 @@ bool nft_ipv46_rule_find(struct nft_family_ops *ops,
DEBUGP("comparing with... ");
#ifdef DEBUG_DEL
- nft_rule_print_save(&this, r, NFT_RULE_APPEND, 0);
+ nft_rule_print_save(r, NFT_RULE_APPEND, 0);
#endif
if (!ops->is_same(cs, &this))
return false;