summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-07-03 05:57:13 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-07-03 05:57:13 +0000
commit80a5f31838cbc58dec631ffe6778b1e9189e64ac (patch)
tree24ce75a8ba1d765f74e7028559a6d3ae76fb2d45 /sys
parent17455e35333964280196c227b7aaeb327277ab8e (diff)
quick workaround until proper PF_FORWARD reass gets implemented.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf_norm.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c
index 1700e9c7b4f..7313fd0cfbf 100644
--- a/sys/net/pf_norm.c
+++ b/sys/net/pf_norm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_norm.c,v 1.92 2004/06/25 11:04:03 itojun Exp $ */
+/* $OpenBSD: pf_norm.c,v 1.93 2004/07/03 05:57:12 itojun Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
@@ -1092,6 +1092,11 @@ pf_normalize_ip6(struct mbuf **m0, int dir, struct pfi_kif *kif,
int nxt;
struct pf_fragment6 *frag6;
+#if 1
+ if (dir == PF_FORWARD)
+ return (PF_PASS);
+#endif
+
r = TAILQ_FIRST(pf_main_ruleset.rules[PF_RULESET_SCRUB].active.ptr);
while (r != NULL) {
r->evaluations++;