]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] options.local_networks setting 1817/head
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:21:10 +0000 (15:21 +0200)
 - Issue: #1763
 - Reported by: @pclemot

src/libserver/cfg_rcl.c

index 596be1cf6782939ebc665df179cad0f1024d6dde..9759cbbac7d453b95fe488a2bd4b68d276498d2a 100644 (file)
@@ -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`)");