summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-pf/files/freebsd-pf-6.0-pcap.patch')
-rw-r--r--sys-freebsd/freebsd-pf/files/freebsd-pf-6.0-pcap.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-pf/files/freebsd-pf-6.0-pcap.patch b/sys-freebsd/freebsd-pf/files/freebsd-pf-6.0-pcap.patch
new file mode 100644
index 0000000..32f0605
--- /dev/null
+++ b/sys-freebsd/freebsd-pf/files/freebsd-pf-6.0-pcap.patch
@@ -0,0 +1,15 @@
+This patch includes net/bpf.h so that libpcap will use that instead of its own
+stripped down version, that doesnt't allow for pflogd to work correctly.
+
+Index: fbsd-6/contrib/pf/pflogd/pflogd.c
+===================================================================
+--- fbsd-6.orig/contrib/pf/pflogd/pflogd.c
++++ fbsd-6/contrib/pf/pflogd/pflogd.c
+@@ -37,6 +37,7 @@ __FBSDID("$FreeBSD: src/contrib/pf/pflog
+ #include <sys/ioctl.h>
+ #include <sys/file.h>
+ #include <sys/stat.h>
++#include <net/bpf.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>