diff options
author | Phil Sutter <phil@nwl.cc> | 2018-07-19 18:31:58 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-07-19 23:05:56 +0200 |
commit | 1bf73c4227459393029ab7b124ba74fe853d9413 (patch) | |
tree | 83762e0463a355ff8ef30ad1b97a528e5fa564c7 /iptables/nft-shared.c | |
parent | 1866625f0befbc04673017692813f48d084004ff (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.c | 2 |
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; |