]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Fix DEBUG build
authorPhil Sutter <phil@nwl.cc>
Wed, 4 Dec 2019 08:36:59 +0000 (09:36 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 4 Dec 2019 22:43:40 +0000 (23:43 +0100)
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>
iptables/nft-shared.c

index 78e422781723f3910ce9dec5c214f9d4d1dd7029..426765641cff679b71c5d014a963eb93bb1e5a18 100644 (file)
@@ -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;