aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-08-28 15:13:57 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-08-28 15:13:57 +0200
commita34483b4c781eca122cac577d59dbed0938ff887 (patch)
treeaee654aedb88f321e17bdb354d3870c372f94e18 /src
parentffdcbd493733f04a488838ad33e85d83184df296 (diff)
downloadrspamd-a34483b4c781eca122cac577d59dbed0938ff887.tar.gz
rspamd-a34483b4c781eca122cac577d59dbed0938ff887.zip
[Fix] options.local_networks setting
- Issue: #1763 - Reported by: @pclemot
Diffstat (limited to 'src')
-rw-r--r--src/libserver/cfg_rcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index acd108f6c..af4198e15 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -2141,7 +2141,7 @@ rspamd_rcl_config_init (struct rspamd_config *cfg)
"Use the specified addresses as local ones");
rspamd_rcl_add_default_handler (sub,
"local_networks",
- rspamd_rcl_parse_struct_string,
+ rspamd_rcl_parse_struct_ucl,
G_STRUCT_OFFSET (struct rspamd_config, local_addrs),
0,
"Use the specified addresses as local ones (alias for `local_addrs`)");