]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] options.local_networks setting
authorAndrew Lewis <nerf@judo.za.org>
Mon, 28 Aug 2017 13:13:57 +0000 (15:13 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 28 Aug 2017 13:13:57 +0000 (15:13 +0200)
 - Issue: #1763
 - Reported by: @pclemot

src/libserver/cfg_rcl.c

index acd108f6ce95187cd6e260bde036392f291f5f6f..af4198e15fc87819957f15ef39a31f247768ce17 100644 (file)
@@ -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`)");