summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-07-05 18:09:51 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-07-05 18:09:51 +0000
commitd317dcf08a0227940f7067a9c754f9910ac292e3 (patch)
treee98eb514a7bbdace7824c372c7f12472773a20cc /sbin
parentb727ac272da1caa9a9b9fef5ce6040ab584c545b (diff)
unbreak.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/parse.y13
1 files changed, 7 insertions, 6 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 6be0d9e3de0..b9cc12b4d9a 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.111 2002/07/05 16:48:44 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.112 2002/07/05 18:09:50 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -349,11 +349,12 @@ pfrule : action dir log quick interface route af proto fromto
r.log = $3;
r.quick = $4;
- if ($5->not) {
- yyerror("'pass/block on ! $interface' isn't "
- "supported.");
- YYERROR;
- }
+ if ($5 != NULL)
+ if ($5->not) {
+ yyerror("'pass/block on ! $interface' "
+ "isn't supported.");
+ YYERROR;
+ }
r.af = $7;
r.flags = $12.b1;