From 3fad866220097d905e4232f2fcb407e22311b5d0 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Mon, 28 Aug 2017 15:13:57 +0200 Subject: [PATCH] [Fix] options.local_networks setting - Issue: #1763 - Reported by: @pclemot --- src/libserver/cfg_rcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`)"); -- 2.39.5