From 3b5c4eec0494938447cc0b0dcbb63a624ccc668e Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Sun, 27 Oct 2002 13:54:00 +0000 Subject: 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@ --- sbin/pfctl/parse.y | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sbin') 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; } ; -- cgit v1.2.3