Skip to content

Commit

Permalink
use a stronger lexical check for interface names
Browse files Browse the repository at this point in the history
from ume@mahoroba.org.
  • Loading branch information
jinmei committed Aug 6, 2003
1 parent 65383f0 commit d3a32b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kame/kame/dhcp6/cftoken.l
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: cftoken.l,v 1.24 2003/08/01 00:40:29 jinmei Exp $ */
/* $KAME: cftoken.l,v 1.25 2003/08/06 19:52:53 jinmei Exp $ */

%{
/*
Expand Down Expand Up @@ -116,7 +116,7 @@ ecl \}
%}
/* interface configuration */
<S_CNF>interface { DECHO; BEGIN S_IFACE; return (INTERFACE); }
<S_IFACE>{string} {
<S_IFACE>{ifname} {
DECHO;
yylval.str = strdup(yytext);
BEGIN S_CNF;
Expand Down

0 comments on commit d3a32b2

Please sign in to comment.