diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-29 17:24:00 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-29 17:24:00 +0400 |
commit | 46e4d866d4aefaa1f5a82fc471966a364da9a49a (patch) | |
tree | 1d39fcfe512abcf83eb54ab16dbdbf8a8b51f4ac /src/cfg_file.l | |
parent | 6cb3a859197585047802ec6216b19a33c08db116 (diff) | |
download | rspamd-46e4d866d4aefaa1f5a82fc471966a364da9a49a.tar.gz rspamd-46e4d866d4aefaa1f5a82fc471966a364da9a49a.zip |
* Allow binds to INADDR_ANY if bind_sock is *:port
Diffstat (limited to 'src/cfg_file.l')
-rw-r--r-- | src/cfg_file.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_file.l b/src/cfg_file.l index ebabd3e0a..29ca9aef7 100644 --- a/src/cfg_file.l +++ b/src/cfg_file.l @@ -104,7 +104,7 @@ yes|YES|no|NO|[yY]|[nN] yylval.flag=parse_flag(yytext); return FLAG; [0-9]+[sS]|[0-9]+[mM][sS] yylval.seconds=parse_seconds(yytext); return SECONDS; [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} yylval.string=strdup(yytext); return IPADDR; [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\/[0-9]{1,2} yylval.string=strdup(yytext); return IPNETWORK; -[a-zA-Z0-9.-]+:[0-9]{1,5} yylval.string=strdup(yytext); return HOSTPORT; +[*a-zA-Z0-9.-]+:[0-9]{1,5} yylval.string=strdup(yytext); return HOSTPORT; [a-zA-Z<][a-zA-Z@+>_-]* yylval.string=strdup(yytext); return STRING; \/[^/\n]+\/ yylval.string=strdup(yytext); return REGEXP; [a-zA-Z0-9].[a-zA-Z0-9\/.-]+ yylval.string=strdup(yytext); return DOMAINNAME; |