commit a30f3af: [Minor] Fix dns servers upstreams

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Jul 26 18:35:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-26 19:27:51 +0100
URL: https://github.com/rspamd/rspamd/commit/a30f3afa4685b33c7372ffb7486257140a249e17 (HEAD -> master)

[Minor] Fix dns servers upstreams

---
 src/libutil/upstream.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libutil/upstream.c b/src/libutil/upstream.c
index d1da9f7d3..0b7fd0c2f 100644
--- a/src/libutil/upstream.c
+++ b/src/libutil/upstream.c
@@ -799,6 +799,7 @@ rspamd_upstreams_add_upstream (struct upstream_list *ups, const gchar *str,
 			}
 
 			g_ptr_array_add (addrs, addr);
+			ret = RSPAMD_PARSE_ADDR_NUMERIC;
 
 			if (ups->ctx) {
 				rspamd_mempool_add_destructor (ups->ctx->pool,


More information about the Commits mailing list