aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-11 15:30:12 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-11 15:30:30 +0000
commit3c4d37339225ea645f0385aeee1b86238ec41f7c (patch)
treef3bf673a02d9ead6eac7fe5ffeebf5e924282bac /src/controller.c
parent63800059e8dacc1ba69b623719c21355a77301c5 (diff)
downloadrspamd-3c4d37339225ea645f0385aeee1b86238ec41f7c.tar.gz
rspamd-3c4d37339225ea645f0385aeee1b86238ec41f7c.zip
[Feature] Allow to limit maps per specific worker
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 1eb088d90..2ab796791 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -3513,7 +3513,9 @@ start_controller_worker (struct rspamd_worker *worker)
if (ctx->secure_ip != NULL) {
rspamd_config_radix_from_ucl (ctx->cfg, ctx->secure_ip,
"Allow unauthenticated requests from these addresses",
- &ctx->secure_map, NULL);
+ &ctx->secure_map,
+ NULL,
+ worker);
}
ctx->lang_det = ctx->cfg->lang_det;