summaryrefslogtreecommitdiff
path: root/sbin/pfctl/parse.y
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-11-27 14:39:07 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-11-27 14:39:07 +0000
commitf5c7a714178871623bd9fd1e5b5e689207ae9216 (patch)
treefbea64b02249d5d57111a1c23d60ea8cac3bbe0b /sbin/pfctl/parse.y
parent162c598f7dcb7af9233def19e1b99689b4c283a6 (diff)
fix tbrsize spec
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r--sbin/pfctl/parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index e938390f816..8460d05415b 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.218 2002/11/27 14:33:12 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.219 2002/11/27 14:39:06 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -682,12 +682,12 @@ qlimit : /* empty */ { $$ = 0; }
tbrsize : /* empty */ { $$ = 0; }
- | number {
- if ($1 > 65535) {
+ | TBRSIZE number {
+ if ($2 > 65535) {
yyerror("tbrsize too big: max 65535");
YYERROR;
}
- $$ = $1;
+ $$ = $2;
}
;