From 138d34619d5db69819e8cc980af7c208adc74ed1 Mon Sep 17 00:00:00 2001 From: Kjell Wooding Date: Thu, 28 Aug 2003 19:27:33 +0000 Subject: 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. --- sbin/pfctl/parse.y | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'sbin/pfctl/parse.y') 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"); -- cgit v1.2.3