diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-01 17:35:47 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-01 17:35:47 +0100 |
commit | 6f8fa405cf5d394491b987d824f5e1b74c14a4c8 (patch) | |
tree | 461a516b628265e9e4767f890f13766218535b41 /src/controller.c | |
parent | ebdf58dc0aed1014374dc56c0b28fe76f3b0c0b1 (diff) | |
download | rspamd-6f8fa405cf5d394491b987d824f5e1b74c14a4c8.tar.gz rspamd-6f8fa405cf5d394491b987d824f5e1b74c14a4c8.zip |
Rework parsing of ip lists.
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c index da0a8c31c..5b2915ef4 100644 --- a/src/controller.c +++ b/src/controller.c @@ -1645,7 +1645,7 @@ start_controller_worker (struct rspamd_worker *worker) if (!add_map (worker->srv->cfg, ctx->secure_ip, "Allow webui access from the specified IP", read_radix_list, fin_radix_list, (void **)&ctx->secure_map)) { - if (!rspamd_config_parse_ip_list (ctx->secure_ip, + if (!radix_add_generic_iplist (ctx->secure_ip, &ctx->secure_map)) { msg_warn ("cannot load or parse ip list from '%s'", ctx->secure_ip); |