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 +