From aceea44d31ebd60dfc1fddeeb4e50b79bfe4640f Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Mon, 27 Mar 2017 14:32:34 +0000 Subject: [PATCH] Fix pfil_add_hook() and pfil_remove_hook() type. --- share/man/man9/pfil.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man9/pfil.9 b/share/man/man9/pfil.9 index 2f28df677a6c..64d0760b8316 100644 --- a/share/man/man9/pfil.9 +++ b/share/man/man9/pfil.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 23, 2013 +.Dd March 27, 2017 .Dt PFIL 9 .Os .Sh NAME @@ -57,9 +57,9 @@ typedef int (*pfil_func_t)(void *arg, struct mbuf **mp, struct ifnet *, int dir, .Fn pfil_head_unregister "struct pfil_head *head" .Ft "struct pfil_head *" .Fn pfil_head_get "int af" "u_long dlt" -.Ft void +.Ft int .Fn pfil_add_hook "pfil_func_t" "void *arg" "int flags" "struct pfil_head *" -.Ft void +.Ft int .Fn pfil_remove_hook "pfil_func_t" "void *arg" "int flags" "struct pfil_head *" .Ft int .Fn pfil_run_hooks "struct pfil_head *head" "struct mbuf **mp" "struct ifnet *" "int dir" "struct inpcb *"