diff options
Diffstat (limited to 'epan/radius_dict.l')
-rw-r--r-- | epan/radius_dict.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/radius_dict.l b/epan/radius_dict.l index e900b61d9b..f0b3f214e0 100644 --- a/epan/radius_dict.l +++ b/epan/radius_dict.l @@ -104,7 +104,7 @@ %} /* Note: FreeRadius allows VENDOR, ATTRIBUTE and VALUE names to contain any non-blank character. - * Using [^[:blank:]] below for those names fails for some reason so for now the patterns for each + * Using ... below for those names fails for some reason so for now the patterns for each * include those characters found in the the corresponding names in the FreeRadius dictionaries. */ @@ -194,7 +194,7 @@ BEGIN WS_OUT; } -<ATTR>[0-9a-z_/\.-]+ { attr_name = g_strdup(yytext); encrypted = FALSE; has_tag = FALSE; BEGIN ATTR_W_NAME; } +<ATTR>[0-9a-z_/.-]+ { attr_name = g_strdup(yytext); encrypted = FALSE; has_tag = FALSE; BEGIN ATTR_W_NAME; } <ATTR_W_NAME>[0-9]+ { attr_id = g_strdup(yytext); BEGIN ATTR_W_ID;} <ATTR_W_NAME>0x[0-9a-f]+ { attr_id = g_strdup_printf("%u",(int)strtoul(yytext,NULL,16)); BEGIN ATTR_W_ID;} <ATTR_W_ID>integer { attr_type = radius_integer; BEGIN ATTR_W_TYPE; } |