summaryrefslogtreecommitdiffstats
path: root/src/cfg_rcl.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-02-19 17:29:23 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-02-19 17:29:23 +0000
commit5b78ecce464ef90e4794ed3c6f1d0dcfd5ed2e83 (patch)
treef547db2872ebf1490d1a356b436b225496bb7a5c /src/cfg_rcl.c
parentc73632361af0ec1faea773257b4b8764713cb169 (diff)
downloadrspamd-5b78ecce464ef90e4794ed3c6f1d0dcfd5ed2e83.tar.gz
rspamd-5b78ecce464ef90e4794ed3c6f1d0dcfd5ed2e83.zip
Integrate rspamd with librdns.
Diffstat (limited to 'src/cfg_rcl.c')
-rw-r--r--src/cfg_rcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_rcl.c b/src/cfg_rcl.c
index 5793b5010..2d0f9b186 100644
--- a/src/cfg_rcl.c
+++ b/src/cfg_rcl.c
@@ -1065,7 +1065,7 @@ rspamd_rcl_config_init (void)
rspamd_rcl_add_default_handler (sub, "dns_nameserver", rspamd_rcl_parse_struct_string_list,
G_STRUCT_OFFSET (struct config_file, nameservers), 0);
rspamd_rcl_add_default_handler (sub, "dns_timeout", rspamd_rcl_parse_struct_time,
- G_STRUCT_OFFSET (struct config_file, dns_timeout), RSPAMD_CL_FLAG_TIME_INTEGER);
+ G_STRUCT_OFFSET (struct config_file, dns_timeout), RSPAMD_CL_FLAG_TIME_FLOAT);
rspamd_rcl_add_default_handler (sub, "dns_retransmits", rspamd_rcl_parse_struct_integer,
G_STRUCT_OFFSET (struct config_file, dns_retransmits), RSPAMD_CL_FLAG_INT_32);
rspamd_rcl_add_default_handler (sub, "dns_sockets", rspamd_rcl_parse_struct_integer,