From 066a19596ae3d69b49a70405e2daf75c929dcd4d Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 4 Dec 2019 09:36:59 +0100 Subject: 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 Acked-by: Pablo Neira Ayuso --- iptables/nft-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables') 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; -- cgit v1.2.3