Allow [] in remote address, which fixes IPv6 support.
Reported by: simon
This commit is contained in:
parent
827a11a3e0
commit
4ec0049878
@ -74,7 +74,7 @@ sender { DP; return SENDER; }
|
||||
source { DP; return SOURCE; }
|
||||
timeout { DP; return TIMEOUT; }
|
||||
[0-9]+ { DP; yylval.num = atoi(yytext); return NUM; }
|
||||
\"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\-\:]*\" { DP; yylval.str = strndup(yytext + 1, strlen(yytext) - 2); return STR; }
|
||||
\"[a-zA-Z0-9_/ !@#\$%\^\&\*\(\)\+\=\|\;\?\,\.\[\]\-\:]*\" { DP; yylval.str = strndup(yytext + 1, strlen(yytext) - 2); return STR; }
|
||||
\{ { DP; depth++; return OB; }
|
||||
\} { DP; depth--; return CB; }
|
||||
#.*$ /* ignore comments */;
|
||||
|
Loading…
Reference in New Issue
Block a user