aboutsummaryrefslogtreecommitdiff
path: root/security/pf
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-07-04 01:28:53 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-07-04 01:28:53 +0000
commitcb8530724e0f7dc15f809e9bf6d492b6796569df (patch)
tree55beaf767653ba86b1d44432fc9aea53883f8ef1 /security/pf
parent849fb596d5d0f0eaa56b99e26c6de9f026ce9189 (diff)
downloadports-cb8530724e0f7dc15f809e9bf6d492b6796569df.tar.gz
ports-cb8530724e0f7dc15f809e9bf6d492b6796569df.zip
Notes
Diffstat (limited to 'security/pf')
-rw-r--r--security/pf/Makefile2
-rw-r--r--security/pf/files/patch-ae13
2 files changed, 14 insertions, 1 deletions
diff --git a/security/pf/Makefile b/security/pf/Makefile
index cea8652d3ab1..cbe8f9623a67 100644
--- a/security/pf/Makefile
+++ b/security/pf/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pf_freebsd
PORTVERSION= 1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= security ipv6
MASTER_SITES= http://pf4freebsd.love2party.net/
.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
diff --git a/security/pf/files/patch-ae b/security/pf/files/patch-ae
new file mode 100644
index 000000000000..739e91417366
--- /dev/null
+++ b/security/pf/files/patch-ae
@@ -0,0 +1,13 @@
+--- pf/pf_norm.c 7 Apr 2003 15:31:41 -0000 1.2
++++ pf/pf_norm.c 3 Jul 2003 02:40:10 -0000 1.2.16.1
+@@ -747,6 +747,9 @@
+ */
+ #if defined(__FreeBSD__)
+ *m0 = m_dup(m, M_NOWAIT);
++ /* From KAME Project : We have missed this! */
++ m_adj(*m0, (h->ip_hl << 2) -
++ (*m0)->m_pkthdr.len);
+ #else
+ *m0 = m_copym2(m, 0, h->ip_hl << 2, M_NOWAIT);
+ #endif
+