From ac5d17d09f6550a6db591a0a0452fd2794c0f49e Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 25 Oct 2006 11:53:47 +0000 Subject: and another nit, $$.log should be set to 0 explicitely on quick without log --- sbin/pfctl/parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/pfctl/parse.y') diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index e5a761c590f..4533372bdda 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.510 2006/10/25 11:45:48 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.511 2006/10/25 11:53:46 henning Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -2113,7 +2113,7 @@ quick : /* empty */ { $$.quick = 0; } logquick : /* empty */ { $$.log = 0; $$.quick = 0; } | log { $$ = $1; $$.quick = 0; } - | QUICK { $$.quick = 1; } + | QUICK { $$.quick = 1; $$.log = 0; } | log QUICK { $$ = $1; $$.quick = 1; } | QUICK log { $$ = $2; $$.quick = 1; } ; -- cgit v1.2.3