diff options
author | 2007-06-21 19:30:03 +0000 | |
---|---|---|
committer | 2007-06-21 19:30:03 +0000 | |
commit | d85f6ffb7fb0e962b221714edd24108b8cc65125 (patch) | |
tree | 1130bf493c0abcd8d36bd9b4e9989b05a3c17bcf | |
parent | add fields for EDCA. (diff) | |
download | wireguard-openbsd-d85f6ffb7fb0e962b221714edd24108b8cc65125.tar.xz wireguard-openbsd-d85f6ffb7fb0e962b221714edd24108b8cc65125.zip |
always initialize logif, from max laier, ok ryan
-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; } ; |