aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-12 19:19:54 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-12 19:19:54 +0100
commit0608bcf8db868c9cd308e5e18338b67cef47dd1c (patch)
treeb02202f4ba9fc0fa0e20745c6c1eba72b9d7f06e /src
parent8e0c0e9155bee8526b68736d53d5eddbe8f4007a (diff)
downloadrspamd-0608bcf8db868c9cd308e5e18338b67cef47dd1c.tar.gz
rspamd-0608bcf8db868c9cd308e5e18338b67cef47dd1c.zip
Whitelisted ip map should be radix, not hash.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/ratelimit.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua
index 99f5d83b8..afc8eda0f 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