summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-10-25 11:45:49 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-10-25 11:45:49 +0000
commitb9fe108c2c6c1f70828fc3708cc297061e6c351c (patch)
treec58f5c4de09ca9fe00d711e781641c4d5d2d6ddc
parent789fbf3eada9051b7845442392cedabd7706f947 (diff)
urgs, $$.quick needs to be set to 0 explicitely on log (without quick)
-rw-r--r--sbin/pfctl/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 906ceffdc59..e5a761c590f 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.509 2006/10/25 11:28:36 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.510 2006/10/25 11:45:48 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -2112,7 +2112,7 @@ quick : /* empty */ { $$.quick = 0; }
;
logquick : /* empty */ { $$.log = 0; $$.quick = 0; }
- | log { $$ = $1; }
+ | log { $$ = $1; $$.quick = 0; }
| QUICK { $$.quick = 1; }
| log QUICK { $$ = $1; $$.quick = 1; }
| QUICK log { $$ = $2; $$.quick = 1; }