From ad2df75849bf429d2780fac9a0388e010bdfdf11 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 18 Mar 2016 09:55:14 +0000 Subject: [PATCH] [Minor] Add `trusted_ips` alias --- src/controller.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/controller.c b/src/controller.c index 66c2a35f9..1c26a802a 100644 --- a/src/controller.c +++ b/src/controller.c @@ -2453,6 +2453,15 @@ init_controller_worker (struct rspamd_config *cfg) 0, "List of IP addresses that are allowed for password-less access"); + rspamd_rcl_register_worker_option (cfg, + type, + "trusted_ips", + rspamd_rcl_parse_struct_string_list, + ctx, + G_STRUCT_OFFSET (struct rspamd_controller_worker_ctx, secure_ip), + 0, + "List of IP addresses that are allowed for password-less access"); + rspamd_rcl_register_worker_option (cfg, type, "static_dir", -- 2.39.5