diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-10-25 11:53:47 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-10-25 11:53:47 +0000 |
commit | ac5d17d09f6550a6db591a0a0452fd2794c0f49e (patch) | |
tree | c51ed2ad7e345ef0f1158f776cc1489f59f090a1 /sbin | |
parent | 0d0676a637c9bee318c27a16678211eb258cba8e (diff) |
and another nit, $$.log should be set to 0 explicitely on quick without log
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
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; } ; |