From 8758e5577c4e40b0f3c7f32da28d385f6278a523 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 15 Mar 2023 08:33:39 +0100 Subject: iptables-nft: remove unused function argument Not used, all callers pass NULL. Signed-off-by: Florian Westphal --- iptables/nft-ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/nft-ipv6.c') diff --git a/iptables/nft-ipv6.c b/iptables/nft-ipv6.c index e9892185..85bb683f 100644 --- a/iptables/nft-ipv6.c +++ b/iptables/nft-ipv6.c @@ -331,7 +331,7 @@ nft_ipv6_add_entry(struct nft_handle *h, &args->d.mask.v6[j], sizeof(struct in6_addr)); if (append) { ret = nft_cmd_rule_append(h, chain, table, - cs, NULL, verbose); + cs, verbose); } else { ret = nft_cmd_rule_insert(h, chain, table, cs, rulenum, verbose); -- cgit v1.2.3