summaryrefslogtreecommitdiffstats
path: root/sys/contrib/ipfilter/netinet/ip_fil.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-12-25 00:48:27 +0000
committerscottl <scottl@FreeBSD.org>2004-12-25 00:48:27 +0000
commita5d798fc3915f61b0712980fa1e1c536a643bb50 (patch)
tree18a75f23e5699409ce6383c9aa21f68a82faf33e /sys/contrib/ipfilter/netinet/ip_fil.h
parent55b47ae071c1f9d7290a14d6601b27235e93550b (diff)
downloadFreeBSD-src-a5d798fc3915f61b0712980fa1e1c536a643bb50.zip
FreeBSD-src-a5d798fc3915f61b0712980fa1e1c536a643bb50.tar.gz
Darnit, through a maze of twisty passages, ipfilter needs to have PFIL_HOOKS
defined. Revert part of the previous commit to fix this.
Diffstat (limited to 'sys/contrib/ipfilter/netinet/ip_fil.h')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_fil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil.h b/sys/contrib/ipfilter/netinet/ip_fil.h
index 4dc259a..aaca0dc 100644
--- a/sys/contrib/ipfilter/netinet/ip_fil.h
+++ b/sys/contrib/ipfilter/netinet/ip_fil.h
@@ -497,7 +497,7 @@ typedef struct ipflog {
#if (defined(NetBSD) && (NetBSD > 199609) && (NetBSD <= 1991011)) || \
(defined(NetBSD1_2) && NetBSD1_2 > 1) || (defined(__FreeBSD_version) && \
(__FreeBSD_version >= 500011))
-# if (NetBSD >= 199905)
+# if (NetBSD >= 199905) || (__FreeBSD_version >= 600001)
# define PFIL_HOOKS
# endif
# ifdef PFIL_HOOKS
OpenPOWER on IntegriCloud