summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2003-08-28 19:27:33 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2003-08-28 19:27:33 +0000
commit138d34619d5db69819e8cc980af7c208adc74ed1 (patch)
treed55eef7c84b80750958bae51aba9340893b6ba64
parent2c831644decefe020427a8226087d85c19565b77 (diff)
This change is busted. what's worse, REGRESSION TESTS WOULD HAVE CAUGHT IT!
You MUST test nework stack changes on BOTH BYTE-ORDERS. Someone can fix this later, but right now I need to get the damn firewall up. Grr.
-rw-r--r--sbin/pfctl/parse.y14
1 files changed, 1 insertions, 13 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index a0821469c8d..072198946a6 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.413 2003/08/26 18:43:04 dhartmei Exp $ */
+/* $OpenBSD: parse.y,v 1.414 2003/08/28 19:27:32 kjell Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -1980,10 +1980,6 @@ port_item : port {
"port operator");
YYERROR;
}
- if ($1.a >= $3.a) {
- yyerror("port arguments invalid");
- YYERROR;
- }
$$ = calloc(1, sizeof(struct node_port));
if ($$ == NULL)
err(1, "port_item: calloc");
@@ -2077,10 +2073,6 @@ uid_item : uid {
"!=");
YYERROR;
}
- if ($1 >= $3) {
- yyerror("user arguments invalid");
- YYERROR;
- }
$$ = calloc(1, sizeof(struct node_uid));
if ($$ == NULL)
err(1, "uid_item: calloc");
@@ -2160,10 +2152,6 @@ gid_item : gid {
"!=");
YYERROR;
}
- if ($1 >= $3) {
- yyerror("group arguments invalid");
- YYERROR;
- }
$$ = calloc(1, sizeof(struct node_gid));
if ($$ == NULL)
err(1, "gid_item: calloc");