summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAlexey AL <AlexeySa@users.noreply.github.com>2015-02-14 13:50:20 +0300
committerAlexey AL <AlexeySa@users.noreply.github.com>2015-02-14 13:50:20 +0300
commitfc789720ba469abf645fbea4948da311005479c6 (patch)
treefa74ef663a5839f0d9d1260ee673c0f52a9e17e0 /src/plugins
parent6903ec48c4bdff1ad76ffd952c76c39adffa2db6 (diff)
downloadrspamd-fc789720ba469abf645fbea4948da311005479c6.tar.gz
rspamd-fc789720ba469abf645fbea4948da311005479c6.zip
Зreventing complications for ipv6 in rbl module
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/rbl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 6950ab7cb..4d15eddc4 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -71,7 +71,7 @@ local function is_private_ip(rip)
return true
end
end
- else
+ elseif rip:get_version() == 6 then
if rip == ipv6_loopback then
return true
end