diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-18 09:55:14 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-18 09:55:14 +0000 |
commit | ad2df75849bf429d2780fac9a0388e010bdfdf11 (patch) | |
tree | a8049b231c416216b3cf79c8ec711822144c8aa5 /src/controller.c | |
parent | 2e418536f3c8370a9f661286e63d38da104672c5 (diff) | |
download | rspamd-ad2df75849bf429d2780fac9a0388e010bdfdf11.tar.gz rspamd-ad2df75849bf429d2780fac9a0388e010bdfdf11.zip |
[Minor] Add `trusted_ips` alias
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c index 66c2a35f9..1c26a802a 100644 --- a/src/controller.c +++ b/src/controller.c @@ -2455,6 +2455,15 @@ init_controller_worker (struct rspamd_config *cfg) 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", rspamd_rcl_parse_struct_string, ctx, |