summaryrefslogtreecommitdiffstats
path: root/sys/contrib/ipfilter
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2005-05-16 16:22:55 +0000
committerdarrenr <darrenr@FreeBSD.org>2005-05-16 16:22:55 +0000
commit7b001e5d5edaab2abb29840bc32847edd30b01b5 (patch)
tree9486604858b98a614982d5b3639d0ef5f669473f /sys/contrib/ipfilter
parent3e9d45596ef928b4037661aa184bb4aaeca6b572 (diff)
downloadFreeBSD-src-7b001e5d5edaab2abb29840bc32847edd30b01b5.zip
FreeBSD-src-7b001e5d5edaab2abb29840bc32847edd30b01b5.tar.gz
Enable building /sbin/ipf (but not the rescue version) with the ability to
parse bpf strings for filter rules in ipf.conf
Diffstat (limited to 'sys/contrib/ipfilter')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_compat.h b/sys/contrib/ipfilter/netinet/ip_compat.h
index 14c1189..2afa333 100644
--- a/sys/contrib/ipfilter/netinet/ip_compat.h
+++ b/sys/contrib/ipfilter/netinet/ip_compat.h
@@ -2293,4 +2293,8 @@ typedef struct tcpiphdr tcpiphdr_t;
# define DPRINT(x)
#endif
+#ifdef RESCUE
+# undef IPFILTER_BPF
+#endif
+
#endif /* __IP_COMPAT_H__ */
OpenPOWER on IntegriCloud