diff options
author | darrenr <darrenr@FreeBSD.org> | 2005-05-16 16:22:55 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2005-05-16 16:22:55 +0000 |
commit | 7b001e5d5edaab2abb29840bc32847edd30b01b5 (patch) | |
tree | 9486604858b98a614982d5b3639d0ef5f669473f /contrib/ipfilter/tools | |
parent | 3e9d45596ef928b4037661aa184bb4aaeca6b572 (diff) | |
download | FreeBSD-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 'contrib/ipfilter/tools')
-rw-r--r-- | contrib/ipfilter/tools/ipf_y.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/ipfilter/tools/ipf_y.y b/contrib/ipfilter/tools/ipf_y.y index 9fd02dd..47113c7 100644 --- a/contrib/ipfilter/tools/ipf_y.y +++ b/contrib/ipfilter/tools/ipf_y.y @@ -5,7 +5,8 @@ #include <sys/ioctl.h> #include <syslog.h> #ifdef IPFILTER_BPF -# include <pcap-bpf.h> +# include "pcap-bpf.h" +# define _NET_BPF_H_ # include <pcap.h> #endif #include "netinet/ip_pool.h" |