aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2013-11-20 20:52:48 +0200
committerAndrew Lewis <nerf@judo.za.org>2013-11-20 20:52:48 +0200
commitbca5bd89e600af50301e3ec7a9eae76b7044099e (patch)
treea003fff18b8236ec6ed431fd1b86565744e446b2 /src
parentd6319bf98dc730ad7ce56e32921a5766b0d606c4 (diff)
downloadrspamd-bca5bd89e600af50301e3ec7a9eae76b7044099e.tar.gz
rspamd-bca5bd89e600af50301e3ec7a9eae76b7044099e.zip
Fix identification of missing source IP
Diffstat (limited to 'src')
-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 4eed1e1c1..e0284c354 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -36,7 +36,7 @@ local function rbl_cb (task)
end
local rip = task:get_from_ip()
- if(rip ~= nil) then
+ if(rip ~= "0.0.0.0") then
for _,rbl in pairs(rbls) do
task:get_resolver():resolve_a(task:get_session(), task:get_mempool(),
ip_to_rbl(rip, rbl['rbl']), rbl_dns_cb, rbl['symbol'])