aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-25 19:40:16 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-25 19:40:16 +0000
commit80bb5413db189bee40e39b6572110af565339e03 (patch)
tree5f6e84100feaaa0af729bd899b4f43b57386b029 /src/libutil/upstream.c
parenta0b5db928fa1e0a6653d97569ee0485093ac6d72 (diff)
downloadrspamd-80bb5413db189bee40e39b6572110af565339e03.tar.gz
rspamd-80bb5413db189bee40e39b6572110af565339e03.zip
[Fix] Fix listen socket parsing
Issue: #3254
Diffstat (limited to 'src/libutil/upstream.c')
-rw-r--r--src/libutil/upstream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/upstream.c b/src/libutil/upstream.c
index 196d9cde8..65cbca105 100644
--- a/src/libutil/upstream.c
+++ b/src/libutil/upstream.c
@@ -1049,6 +1049,7 @@ rspamd_upstreams_add_upstream (struct upstream_list *ups, const gchar *str,
ret = rspamd_parse_host_port_priority (str, &addrs,
&upstream->weight,
&upstream->name, def_port,
+ FALSE,
ups->ctx ? ups->ctx->pool : NULL);
}
break;