Module Name: src Committed By: christos Date: Fri Jan 22 22:03:54 UTC 2016
Modified Files: src/usr.sbin/npf/npfctl: npf_scan.l Log Message: handle v4 mapped addresses To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/npf/npfctl/npf_scan.l 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_scan.l diff -u src/usr.sbin/npf/npfctl/npf_scan.l:1.22 src/usr.sbin/npf/npfctl/npf_scan.l:1.23 --- src/usr.sbin/npf/npfctl/npf_scan.l:1.22 Fri Dec 26 17:44:54 2014 +++ src/usr.sbin/npf/npfctl/npf_scan.l Fri Jan 22 17:03:54 2016 @@ -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 @@ any return ANY; return IPV6ADDR; } -"::"{HEXDIG}[0-9a-fA-F:]* { +"::"{HEXDIG}[0-9a-fA-F:.]* { yylval.str = estrndup(yytext, yyleng); return IPV6ADDR; }