This commit is contained in:
Super User 2007-07-27 20:31:14 +02:00
parent b5427b9c69
commit 41f2c3714b
1 changed files with 1 additions and 1 deletions

View File

@ -973,7 +973,7 @@ struct route_ruleset *ruleset_parse(void)
/* reading ruleset name text */
i = 0;
while((*p>='a' && *p<='z') || (*p>='A' && *p<='Z') || (*p>='0' && *p<='9'))
while(*p>' ' && *p<127 && *p!=']')
{
if (*p>='A' && *p<='Z') *p = *p-'A'+'a'; /* lower case */
key[i++] = *p++;