summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2018-05-02 07:29:14 -0300
committerRenato Botelho <renato@netgate.com>2018-05-02 07:29:14 -0300
commit20bf94b25026a179bebede726eb319072fdaf7c0 (patch)
tree8095d5f88a87a46691b67cace5fb16d87170726e
parent19c26609c7599bc16e394cc2eed428b012c4626e (diff)
downloadFreeBSD-src-20bf94b25026a179bebede726eb319072fdaf7c0.zip
FreeBSD-src-20bf94b25026a179bebede726eb319072fdaf7c0.tar.gz
Fix pfil_add_hook_priv() prototype
-rw-r--r--sys/net/pfil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pfil.c b/sys/net/pfil.c
index cd58702..cb466e4 100644
--- a/sys/net/pfil.c
+++ b/sys/net/pfil.c
@@ -57,7 +57,8 @@ MTX_SYSINIT(pfil_heads_lock, &pfil_global_lock, "pfil_head_list lock",
static struct packet_filter_hook *pfil_chain_get(int, struct pfil_head *);
static int pfil_chain_add(pfil_chain_t *, struct packet_filter_hook *, int);
static int pfil_chain_remove(pfil_chain_t *, void *, void *);
-static int pfil_add_hook_priv(void *, void *, int, struct pfil_head *, bool);
+static int pfil_add_hook_priv(void *, void *, char *, int, struct pfil_head *,
+ bool);
LIST_HEAD(pfilheadhead, pfil_head);
VNET_DEFINE(struct pfilheadhead, pfil_head_list);
OpenPOWER on IntegriCloud