summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorCedric Berger <cedric@cvs.openbsd.org>2004-02-24 14:28:46 +0000
committerCedric Berger <cedric@cvs.openbsd.org>2004-02-24 14:28:46 +0000
commit7d737c92994c0c5c14592c825143c32c1eeb8003 (patch)
tree0cd90d42e8033f323682664b402bbc94944e8a90 /sbin/pfctl
parent623db500ddbe67670d4141cbe367da44c9b00c88 (diff)
fixup.
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 39e7e4df0ec..2a692745a50 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.442 2004/02/24 11:16:26 mcbride Exp $ */
+/* $OpenBSD: parse.y,v 1.443 2004/02/24 14:28:45 cedric Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -3399,7 +3399,7 @@ filter_consistent(struct pf_rule *r)
yyerror("return-rst can only be applied to TCP rules");
problems++;
}
- if (r->mak_src_nodes && !(r->rule_flag & PFRULE_RULESRCTRACK)) {
+ if (r->max_src_nodes && !(r->rule_flag & PFRULE_RULESRCTRACK)) {
yyerror("max-src-nodes requires 'source-track rule'");
problems++;
}