fix
This commit is contained in:
parent
b5427b9c69
commit
41f2c3714b
2
route.c
2
route.c
|
@ -973,7 +973,7 @@ struct route_ruleset *ruleset_parse(void)
|
||||||
|
|
||||||
/* reading ruleset name text */
|
/* reading ruleset name text */
|
||||||
i = 0;
|
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 */
|
if (*p>='A' && *p<='Z') *p = *p-'A'+'a'; /* lower case */
|
||||||
key[i++] = *p++;
|
key[i++] = *p++;
|
||||||
|
|
Loading…
Reference in New Issue