From: Andrew Lewis Date: Wed, 20 Nov 2013 18:52:48 +0000 (+0200) Subject: Fix identification of missing source IP X-Git-Tag: 0.6.0~31^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bca5bd89e600af50301e3ec7a9eae76b7044099e;p=thirdparty%2Frspamd.git Fix identification of missing source IP --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 4eed1e1c1d..e0284c354e 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'])