summaryrefslogtreecommitdiffstats
path: root/iptables/nft-cmd.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-03-15 08:33:39 +0100
committerFlorian Westphal <fw@strlen.de>2023-03-15 08:34:02 +0100
commit8758e5577c4e40b0f3c7f32da28d385f6278a523 (patch)
tree035b65c1affdcc68f56b449b84e7489dac7a90b0 /iptables/nft-cmd.c
parentad84e8870ef27bfc662edc0caedd74dac82e1c9d (diff)
iptables-nft: remove unused function argument
Not used, all callers pass NULL. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft-cmd.c')
-rw-r--r--iptables/nft-cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft-cmd.c b/iptables/nft-cmd.c
index f16ea0e6..7b2fc3a5 100644
--- a/iptables/nft-cmd.c
+++ b/iptables/nft-cmd.c
@@ -92,7 +92,7 @@ static void nft_cmd_rule_bridge(struct nft_handle *h, const struct nft_cmd *cmd)
int nft_cmd_rule_append(struct nft_handle *h, const char *chain,
const char *table, struct iptables_command_state *state,
- void *ref, bool verbose)
+ bool verbose)
{
struct nft_cmd *cmd;