Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/npf/npfctl remove extra rule that got merged...



details:   https://anonhg.NetBSD.org/src/rev/b2aa3ca36470
branches:  trunk
changeset: 777635:b2aa3ca36470
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 26 22:04:42 2012 +0000

description:
remove extra rule that got merged...

diffstat:

 usr.sbin/npf/npfctl/npf_parse.y |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (21 lines):

diff -r 0a461234ca72 -r b2aa3ca36470 usr.sbin/npf/npfctl/npf_parse.y
--- a/usr.sbin/npf/npfctl/npf_parse.y   Sun Feb 26 21:50:05 2012 +0000
+++ b/usr.sbin/npf/npfctl/npf_parse.y   Sun Feb 26 22:04:42 2012 +0000
@@ -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
        : NUM           { $$ = htons($1); }
        | IDENTIFIER    { $$ = npfctl_portno($1); }
-       | VAR_ID
-       {
-               char *s = npfvar_expand_string(npfvar_lookup($1));
-               $$ = npfctl_portno(s);
-       }
        ;
 
 icmp_type_and_code



Home | Main Index | Thread Index | Old Index