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/rspamadm/lua_repl.c | |
parent | a0b5db928fa1e0a6653d97569ee0485093ac6d72 (diff) | |
download | rspamd-80bb5413db189bee40e39b6572110af565339e03.tar.gz rspamd-80bb5413db189bee40e39b6572110af565339e03.zip |
[Fix] Fix listen socket parsing
Issue: #3254
Diffstat (limited to 'src/rspamadm/lua_repl.c')
-rw-r--r-- | src/rspamadm/lua_repl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c index 31e06626e..df970fd01 100644 --- a/src/rspamadm/lua_repl.c +++ b/src/rspamadm/lua_repl.c @@ -925,7 +925,7 @@ rspamadm_lua (gint argc, gchar **argv, const struct rspamadm_command *cmd) struct rspamadm_lua_repl_context *ctx; if (rspamd_parse_host_port_priority (serve, &addrs, NULL, &name, - 10000, NULL) == RSPAMD_PARSE_ADDR_FAIL) { + 10000, TRUE, NULL) == RSPAMD_PARSE_ADDR_FAIL) { fprintf (stderr, "cannot listen on %s", serve); exit (EXIT_FAILURE); } |