diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-25 19:40:16 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-25 19:40:16 +0000 |
commit | 80bb5413db189bee40e39b6572110af565339e03 (patch) | |
tree | 5f6e84100feaaa0af729bd899b4f43b57386b029 /src/libserver | |
parent | a0b5db928fa1e0a6653d97569ee0485093ac6d72 (diff) | |
download | rspamd-80bb5413db189bee40e39b6572110af565339e03.tar.gz rspamd-80bb5413db189bee40e39b6572110af565339e03.zip |
[Fix] Fix listen socket parsing
Issue: #3254
Diffstat (limited to 'src/libserver')
-rw-r--r-- | src/libserver/cfg_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 6a076e673..9a308a8a4 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -129,7 +129,7 @@ rspamd_parse_bind_line (struct rspamd_config *cfg, } else { if (rspamd_parse_host_port_priority (str, &cnf->addrs, - NULL, &cnf->name, DEFAULT_BIND_PORT, NULL) == RSPAMD_PARSE_ADDR_FAIL) { + NULL, &cnf->name, DEFAULT_BIND_PORT, TRUE, NULL) == RSPAMD_PARSE_ADDR_FAIL) { msg_err_config ("cannot parse bind line: %s", str); ret = FALSE; } |