Module Name: src
Committed By: christos
Date: Sun Feb 26 22:04:42 UTC 2012
Modified Files:
src/usr.sbin/npf/npfctl: npf_parse.y
Log Message:
remove extra rule that got merged...
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/npf/npfctl/npf_parse.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npfctl/npf_parse.y
diff -u src/usr.sbin/npf/npfctl/npf_parse.y:1.5 src/usr.sbin/npf/npfctl/npf_parse.y:1.6
--- src/usr.sbin/npf/npfctl/npf_parse.y:1.5 Sun Feb 26 16:50:05 2012
+++ src/usr.sbin/npf/npfctl/npf_parse.y Sun Feb 26 17:04:42 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: npf_parse.y,v 1.5 2012/02/26 21:50:05 christos Exp $ */
+/* $NetBSD: npf_parse.y,v 1.6 2012/02/26 22:04:42 christos Exp $ */
/*-
* Copyright (c) 2011-2012 The NetBSD Foundation, Inc.
@@ -623,11 +623,6 @@ port_range
port
: NUM { $$ = htons($1); }
| IDENTIFIER { $$ = npfctl_portno($1); }
- | VAR_ID
- {
- char *s = npfvar_expand_string(npfvar_lookup($1));
- $$ = npfctl_portno(s);
- }
;
icmp_type_and_code