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 handle v4 mapped addresses



details:   https://anonhg.NetBSD.org/src/rev/5eac90e49912
branches:  trunk
changeset: 343085:5eac90e49912
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 22 22:03:54 2016 +0000

description:
handle v4 mapped addresses

diffstat:

 usr.sbin/npf/npfctl/npf_scan.l |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9d4c3f1189db -r 5eac90e49912 usr.sbin/npf/npfctl/npf_scan.l
--- a/usr.sbin/npf/npfctl/npf_scan.l    Fri Jan 22 21:56:56 2016 +0000
+++ b/usr.sbin/npf/npfctl/npf_scan.l    Fri Jan 22 22:03:54 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_scan.l,v 1.22 2014/12/26 22:44:54 christos Exp $   */
+/*     $NetBSD: npf_scan.l,v 1.23 2016/01/22 22:03:54 christos Exp $   */
 
 /*-
  * Copyright (c) 2011-2012 The NetBSD Foundation, Inc.
@@ -175,7 +175,7 @@
                        return IPV6ADDR;
                }
 
-"::"{HEXDIG}[0-9a-fA-F:]* {
+"::"{HEXDIG}[0-9a-fA-F:.]* {
                        yylval.str = estrndup(yytext, yyleng);
                        return IPV6ADDR;
                }



Home | Main Index | Thread Index | Old Index