summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-06-14 18:15:50 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-06-14 18:15:50 +0000
commite5e1415b25c67e3fe4074109955b56e200b7238f (patch)
tree69d97a4aa7438cddf88c0b598b99bac571fa63ff /sbin
parent5c6323a6be90ba538b3104c2ac6f9a112cd21ce4 (diff)
no need to restrict tagging to stateful rules any more, dhartmei ok
From: "Alexey E. Suslikov" <cruel@texnika.com.ua>
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/parse.y7
1 files changed, 1 insertions, 6 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 85570d838a7..dd490e7ac83 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.491 2005/05/27 18:52:41 dhartmei Exp $ */
+/* $OpenBSD: parse.y,v 1.492 2005/06/14 18:15:49 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -3793,11 +3793,6 @@ filter_consistent(struct pf_rule *r, int anchor_call)
yyerror("keep state on block rules doesn't make sense");
problems++;
}
- if ((r->tagname[0] || r->match_tagname[0]) && !r->keep_state &&
- r->action == PF_PASS && !anchor_call) {
- yyerror("tags cannot be used without keep state");
- problems++;
- }
return (-problems);
}