From: Vsevolod Stakhov Date: Fri, 18 Mar 2016 09:55:14 +0000 (+0000) Subject: [Minor] Add `trusted_ips` alias X-Git-Tag: 1.2.0~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ad2df75849bf429d2780fac9a0388e010bdfdf11;p=rspamd.git [Minor] Add `trusted_ips` alias --- 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",