summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2001-06-25 01:00:36 +0000
committerNiels Provos <provos@cvs.openbsd.org>2001-06-25 01:00:36 +0000
commit6b56fa8da2fef5ae4bc0e521ce93a2a2c7fac650 (patch)
treeab92deec62f2c0a8c1f42ccc7087665fa3428963 /sys
parent84a732545b0e96897c9cea1f31b00212e1957c62 (diff)
do not drop unsupported protocol. default to pass. needs to be configurable
later.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 558bb708d17..c77639088b0 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.19 2001/06/25 00:14:57 niklas Exp $ */
+/* $OpenBSD: pf.c,v 1.20 2001/06/25 01:00:35 provos Exp $ */
/*
* Copyright (c) 2001, Daniel Hartmeier
@@ -1788,9 +1788,7 @@ pf_test(int direction, struct ifnet *ifp, struct mbuf **m)
}
default:
- printf("packetfilter: dropping unsupported protocol");
- print_ip(ifp, h);
- action = PF_DROP;
+ action = PF_PASS;
break;
}