summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2024-07-31 18:51:03 +0200
committerFlorian Westphal <fw@strlen.de>2024-08-19 14:00:36 +0200
commit4d66136082ce32f979bf992e68385ed033af057e (patch)
treee27934c16783a48fd4efb5ddcff11a63086a7d6d /include
parent194dc496177a8197c617743ba3cce7f4dc8fffa7 (diff)
src: drop obsolete hook argument form hook dump functions
since commit b98fee20bfe2 ("mnl: revisit hook listing"), handle.chain is never set in this path, so 'hook' is always set to -1, so the hook arg can be dropped. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
-rw-r--r--include/mnl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mnl.h b/include/mnl.h
index cd5a2053..c9502f32 100644
--- a/include/mnl.h
+++ b/include/mnl.h
@@ -90,7 +90,7 @@ int mnl_nft_flowtable_add(struct netlink_ctx *ctx, struct cmd *cmd,
unsigned int flags);
int mnl_nft_flowtable_del(struct netlink_ctx *ctx, struct cmd *cmd);
-int mnl_nft_dump_nf_hooks(struct netlink_ctx *ctx, int family, int hook,
+int mnl_nft_dump_nf_hooks(struct netlink_ctx *ctx, int family,
const char *devname);
int mnl_nft_event_listener(struct mnl_socket *nf_sock, unsigned int debug_mask,