diff options
author | Phil Sutter <phil@nwl.cc> | 2019-12-04 09:36:59 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-12-04 23:43:40 +0100 |
commit | 066a19596ae3d69b49a70405e2daf75c929dcd4d (patch) | |
tree | a6d26c7de54b1003420bb43632c7d8400131eeda | |
parent | 37ff0d667d346dd455e08f52a785685185f01b15 (diff) |
Fix DEBUG build
Fixed commit missed to update this conditional call to
nft_rule_print_save().
Fixes: 1e8ef6a584754 ("nft: family_ops: Pass nft_handle to 'rule_to_cs' callback")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
-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 78e42278..42676564 100644 --- a/iptables/nft-shared.c +++ b/iptables/nft-shared.c @@ -998,7 +998,7 @@ bool nft_ipv46_rule_find(struct nft_handle *h, struct nftnl_rule *r, void *data) DEBUGP("comparing with... "); #ifdef DEBUG_DEL - nft_rule_print_save(r, NFT_RULE_APPEND, 0); + nft_rule_print_save(h, r, NFT_RULE_APPEND, 0); #endif if (!h->ops->is_same(cs, &this)) goto out; |