diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-25 14:08:02 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-25 14:08:02 +0000 |
commit | 2830eb5a462209e20f30d7799a35d1c9d393e732 (patch) | |
tree | a9e539e49f71780109b34d00750ed94b7508ba87 /security/pf/files/patch-ad | |
parent | Fix build on -CURRENT. (diff) |
Supersedes ports/59442 and previous hasty-fix, and fixes the following:
- Build with __FreeBSD_version > 501114 (see bms commit)
- Build with new route.h (no RTF_PRCLONING)
- Don't use hardware assistance on framentation when DF is set.
- Allow pftcpdump -w to be used with pfsync.
Found-by: bento / Pyun YongHyeon
Submitted by: Max Laier
PR: ports/59548
Notes
Notes:
svn path=/head/; revision=94775
Diffstat (limited to '')
-rw-r--r-- | security/pf/files/patch-ad | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/security/pf/files/patch-ad b/security/pf/files/patch-ad new file mode 100644 index 000000000000..8473380dac8e --- /dev/null +++ b/security/pf/files/patch-ad @@ -0,0 +1,23 @@ +--- freebsd_libpcap/savefile.c.orig Fri Nov 21 14:35:34 2003 ++++ freebsd_libpcap/savefile.c Fri Nov 21 14:35:46 2003 +@@ -178,6 +178,9 @@ + #define LINKTYPE_HDLC 112 /* NetBSD HDLC framing */ + #define LINKTYPE_IPFILTER 116 /* IP Filter capture files */ + #define LINKTYPE_PFLOG 117 /* OpenBSD DLT_PFLOG */ ++#if defined(DLT_PFSYNC) ++#define LINKTYPE_PFSYNC DLT_PFSYNC ++#endif + + static struct linktype_map { + int dlt; +@@ -271,6 +274,10 @@ + * defining DLT_* values that collide with those + * LINKTYPE_* values, either). + */ ++ { DLT_PFLOG, LINKTYPE_PFLOG }, ++#if defined(DLT_PFSYNC) ++ { DLT_PFSYNC, LINKTYPE_PFSYNC }, ++#endif + { -1, -1 } + }; + |