aboutsummaryrefslogtreecommitdiffstats
path: root/epan/radius_dict.l
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-05-27 01:33:24 +0000
committerBill Meier <wmeier@newsguy.com>2011-05-27 01:33:24 +0000
commitafbbb55212bcb2b2b25001a70b4224b18d2e91dd (patch)
treebc8efddbe0e7b08ee384369990b4ee005e35ffec /epan/radius_dict.l
parentebc0c3e33ffecbcd380865e858335918bdd47467 (diff)
Try a stab-in-the-dark to see if we can fix the OSX compile issue.
svn path=/trunk/; revision=37419
Diffstat (limited to 'epan/radius_dict.l')
-rw-r--r--epan/radius_dict.l4
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; }