diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/parse.y | 14 |
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"); |