summaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r--src/fuzzy_storage.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c
index b1a340d6b..6d046fcdb 100644
--- a/src/fuzzy_storage.c
+++ b/src/fuzzy_storage.c
@@ -2503,7 +2503,7 @@ start_fuzzy (struct rspamd_worker *worker)
if (ctx->update_map != NULL) {
rspamd_config_radix_from_ucl (worker->srv->cfg, ctx->update_map,
"Allow fuzzy updates from specified addresses",
- &ctx->update_ips, NULL, worker);
+ &ctx->update_ips, NULL, worker, "fuzzy update");
}
if (ctx->skip_map != NULL) {
@@ -2529,7 +2529,7 @@ start_fuzzy (struct rspamd_worker *worker)
"Block fuzzy requests from the specific IPs",
&ctx->blocked_ips,
NULL,
- worker);
+ worker, "fuzzy blocked");
}
/* Create radix trees */
@@ -2538,13 +2538,14 @@ start_fuzzy (struct rspamd_worker *worker)
"Skip ratelimits from specific ip addresses/networks",
&ctx->ratelimit_whitelist,
NULL,
- worker);
+ worker, "fuzzy ratelimit whitelist");
}
if (!isnan (ctx->delay) && ctx->delay_whitelist_map != NULL) {
rspamd_config_radix_from_ucl (worker->srv->cfg, ctx->delay_whitelist_map,
"Skip delay from the following ips",
- &ctx->delay_whitelist, NULL, worker);
+ &ctx->delay_whitelist, NULL, worker,
+ "fuzzy delayed whitelist");
}
/* Ratelimits */