From: Andrew Lewis Date: Mon, 28 Aug 2017 13:13:57 +0000 (+0200) Subject: [Fix] options.local_networks setting X-Git-Tag: 1.6.4~22^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3fad866220097d905e4232f2fcb407e22311b5d0;p=rspamd.git [Fix] options.local_networks setting - Issue: #1763 - Reported by: @pclemot --- diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 596be1cf6..9759cbbac 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -2135,7 +2135,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`)");