summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2004-07-12 00:50:22 +0000
committeritojun <itojun@openbsd.org>2004-07-12 00:50:22 +0000
commitf6d146802e6c52445faa632a61f529cef85ce1e6 (patch)
treedc974d0b2ad5cda0ab2f6a3c343fcdcbda9b9a42 /sys/netinet6
parentoops (diff)
downloadwireguard-openbsd-f6d146802e6c52445faa632a61f529cef85ce1e6.tar.xz
wireguard-openbsd-f6d146802e6c52445faa632a61f529cef85ce1e6.zip
remove PF_FORWARD (which was introduced by ipv6 reass-on-scrub).
daniel found it.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6_forward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c
index 188455ad852..eaea4690d38 100644
--- a/sys/netinet6/ip6_forward.c
+++ b/sys/netinet6/ip6_forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_forward.c,v 1.32 2004/06/25 00:42:58 itojun Exp $ */
+/* $OpenBSD: ip6_forward.c,v 1.33 2004/07/12 00:50:22 itojun Exp $ */
/* $KAME: ip6_forward.c,v 1.75 2001/06/29 12:42:13 jinmei Exp $ */
/*
@@ -429,7 +429,7 @@ ip6_forward(m, srcrt)
ip6->ip6_dst.s6_addr16[1] = 0;
#if NPF > 0
- if (pf_test6(PF_FORWARD, rt->rt_ifp, &m, NULL) != PF_PASS) {
+ if (pf_test6(PF_OUT, rt->rt_ifp, &m, NULL) != PF_PASS) {
m_freem(m);
goto senderr;
}