summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-10-27 13:54:00 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-10-27 13:54:00 +0000
commit3b5c4eec0494938447cc0b0dcbb63a624ccc668e (patch)
tree11ff3117f2c3310b3a681869122bfcf5c8f98009
parentf24f1336328ca4b0a6d657073d8797904e2adc5a (diff)
remove the "flags X" syntax.
noone who wrote "flags S" meant that, but actually something like "flags S/SA". with "flags S" changing its actual meaning as more flags got supported, things got worse. ok dhartmei@, pb@
-rw-r--r--sbin/pfctl/parse.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 6fdd5fd0c42..73cecd889ef 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.174 2002/10/22 12:55:01 mpech Exp $ */
+/* $OpenBSD: parse.y,v 1.175 2002/10/27 13:53:59 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -1076,7 +1076,6 @@ flag : STRING {
;
flags : /* empty */ { $$.b1 = 0; $$.b2 = 0; }
- | FLAGS flag { $$.b1 = $2.b1; $$.b2 = PF_TH_ALL; }
| FLAGS flag "/" flag { $$.b1 = $2.b1; $$.b2 = $4.b1; }
| FLAGS "/" flag { $$.b1 = 0; $$.b2 = $3.b1; }
;