From: Vsevolod Stakhov Date: Tue, 12 May 2015 18:19:54 +0000 (+0100) Subject: Whitelisted ip map should be radix, not hash. X-Git-Tag: 0.9.0~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0608bcf8db868c9cd308e5e18338b67cef47dd1c;p=thirdparty%2Frspamd.git Whitelisted ip map should be radix, not hash. --- diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index 99f5d83b85..afc8eda0f8 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -368,7 +368,7 @@ if opts then end if opts['whitelisted_ip'] then - whitelisted_ip = rspamd_config:add_hash_map(opts['whitelisted_ip'], 'Ratelimit whitelist ip map') + whitelisted_ip = rspamd_config:add_radix_map(opts['whitelisted_ip'], 'Ratelimit whitelist ip map') end if opts['max_rcpt'] then