summaryrefslogtreecommitdiffstats
path: root/iptables/nft-cmd.h
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.h
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.h')
-rw-r--r--iptables/nft-cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft-cmd.h b/iptables/nft-cmd.h
index c0f84636..ae5908d8 100644
--- a/iptables/nft-cmd.h
+++ b/iptables/nft-cmd.h
@@ -37,7 +37,7 @@ void nft_cmd_free(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);
int nft_cmd_rule_insert(struct nft_handle *h, const char *chain,
const char *table, struct iptables_command_state *state,
int rulenum, bool verbose);