diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-01 14:53:20 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-01 14:53:20 +0000 |
commit | 4f21ecbd4a343aa79b9184ab3a04f663268de6a9 (patch) | |
tree | 3d83994639704bc799e92aceaa33adcc56df597a | |
parent | 58e8c7ee5f5c19f2a954684866357086b83b7662 (diff) | |
download | rspamd-4f21ecbd4a343aa79b9184ab3a04f663268de6a9.tar.gz rspamd-4f21ecbd4a343aa79b9184ab3a04f663268de6a9.zip |
[Minor] Allow 'upstreams' alias...
-rw-r--r-- | src/libserver/cfg_rcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index bc2d50bb2..e55076894 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -279,7 +279,7 @@ rspamd_rcl_options_handler (rspamd_mempool_t *pool, const ucl_object_t *obj, HASH_FIND_STR (section->subsections, "upstream", upstream_section); - upstream = ucl_object_lookup (obj, "upstream"); + upstream = ucl_object_lookup_any (obj, "upstream", "upstreams", NULL); if (upstream_section != NULL && upstream != NULL) { if (!rspamd_rcl_section_parse_defaults (cfg, upstream_section, cfg->cfg_pool, |