summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 6f1130ca1114..2250116c6edd 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -403,7 +403,7 @@ tooshort:
*/
/* Jump over all PFIL processing if hooks are not active. */
- if (inet_pfil_hook.ph_busy_count == -1)
+ if (!PFIL_HOOKED(&inet_pfil_hook))
goto passin;
odst = ip->ip_dst;