diff options
author | sam <sam@FreeBSD.org> | 2003-09-24 05:08:58 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-09-24 05:08:58 +0000 |
commit | 1108c6ed8bd6078fa1ef915ae795523465316002 (patch) | |
tree | 8d4dc73752c35ffc7e9aad4ae9f581de36ab2b29 /sys/contrib/ipfilter | |
parent | 7a796865c52ca206987e3057a35317ad3ee36c25 (diff) | |
download | FreeBSD-src-1108c6ed8bd6078fa1ef915ae795523465316002.zip FreeBSD-src-1108c6ed8bd6078fa1ef915ae795523465316002.tar.gz |
o remove extraneous include of <net/pfil.h>
o guard wrapper code against user-mode compilation
Sponsored by: FreeBSD Foundation
Diffstat (limited to 'sys/contrib/ipfilter')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_fil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil.c b/sys/contrib/ipfilter/netinet/ip_fil.c index cc38d35..a0f6857 100644 --- a/sys/contrib/ipfilter/netinet/ip_fil.c +++ b/sys/contrib/ipfilter/netinet/ip_fil.c @@ -310,8 +310,7 @@ int dir; } # endif #endif /* __NetBSD_Version >= 105110000 && _KERNEL */ -#if (__FreeBSD_version >= 501108) -# include <net/pfil.h> +#if (__FreeBSD_version >= 501108) && defined(_KERNEL) static int fr_check_wrapper(void *arg, struct mbuf **mp, struct ifnet *ifp, int dir) |