diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2007-06-21 19:30:04 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2007-06-21 19:30:04 +0000 |
commit | 55475ddb22e002bf64581253a4c5f45af93869c4 (patch) | |
tree | 19a7167f8e2c412fd27e6614d6719e891f2e6bd6 /sbin | |
parent | b2210e6ce0814c1404f18117858a1ef8f28342d6 (diff) |
always initialize logif, from max laier, ok ryan
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 466bc6f09dc..a491f3ead7d 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.518 2007/06/20 14:14:17 mpf Exp $ */ +/* $OpenBSD: parse.y,v 1.519 2007/06/21 19:30:03 henning Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -3439,8 +3439,8 @@ redirection : /* empty */ { $$ = NULL; } } ; -natpasslog : /* empty */ { $$.b1 = $$.b2 = 0; } - | PASS { $$.b1 = 1; $$.b2 = 0; } +natpasslog : /* empty */ { $$.b1 = $$.b2 = 0; $$.w2 = 0; } + | PASS { $$.b1 = 1; $$.b2 = 0; $$.w2 = 0; } | PASS log { $$.b1 = 1; $$.b2 = $2.log; $$.w2 = $2.logif; } | log { $$.b1 = 0; $$.b2 = $1.log; $$.w2 = $1.logif; } ; |