summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-10-27 13:53:59 +0000
committerhenning <henning@openbsd.org>2002-10-27 13:53:59 +0000
commit9988cc1aba927e5cbc88a0d483c05bc12bf7c1f3 (patch)
tree26a4e68403f864a7d46ef2cb597e18bd27e0f123
parentTypo in comment (diff)
downloadwireguard-openbsd-9988cc1aba927e5cbc88a0d483c05bc12bf7c1f3.tar.xz
wireguard-openbsd-9988cc1aba927e5cbc88a0d483c05bc12bf7c1f3.zip
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; }
;