summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2009-11-23 18:10:44 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2009-11-23 18:10:44 +0000
commit07254c8ee93b5072bb9fed71c8b5b94d8bd32595 (patch)
treee37619b3d58b80ceea9ef40a96dc73a5e0a10d51 /sys
parent19f49e0091711ae7866bbff745001326b4920bb7 (diff)
one kinda-missing log |= PFLOG_FORCE in the v6 case, spotted by claudio
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 3b47dbc1b3d..1e95dee747c 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.674 2009/11/23 18:04:10 henning Exp $ */
+/* $OpenBSD: pf.c,v 1.675 2009/11/23 18:10:43 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -5811,6 +5811,7 @@ pf_test6(int dir, struct ifnet *ifp, struct mbuf **m0,
if (htons(h->ip6_plen) == 0) {
action = PF_DROP;
REASON_SET(&reason, PFRES_NORM); /*XXX*/
+ log |= PF_LOG_FORCE;
goto done;
}
#endif