summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-05-07 08:08:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-05-07 08:08:40 +0000
commit133b697244d53a990dd7af86b17223baccac4e2f (patch)
tree1acf0c4457499e3a59135a8971f6e542e0e3782c /sbin/pfctl
parentc04383ba5f6c4cd2410903d3fc5c491c6c5a7d44 (diff)
do not assume PF_INOUT is 0 in the enum; ok mcbride
Diffstat (limited to 'sbin/pfctl')
-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 ed040b159aa..4d287440639 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.539 2008/05/07 07:07:29 markus Exp $ */
+/* $OpenBSD: parse.y,v 1.540 2008/05/07 08:08:39 deraadt Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -2407,7 +2407,7 @@ reticmp6spec : STRING {
}
;
-dir : /* empty */ { $$ = 0; }
+dir : /* empty */ { $$ = PF_INOUT; }
| IN { $$ = PF_IN; }
| OUT { $$ = PF_OUT; }
;