From bca5bd89e600af50301e3ec7a9eae76b7044099e Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Wed, 20 Nov 2013 20:52:48 +0200 Subject: Fix identification of missing source IP --- src/plugins/lua/rbl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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']) -- cgit v1.2.3