From 0f06a580a0f0b39258de2317d0abecf995cf43b0 Mon Sep 17 00:00:00 2001 From: patrik Date: Sun, 11 Mar 2012 09:37:49 +0000 Subject: [PATCH] Fixed an error in the dnsbl.quorum.to lookup that would incorrectly always return all lookups as SPAM sources. [Patrik] --- nselib/dnsbl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/dnsbl.lua b/nselib/dnsbl.lua index 4268962fc..414d8c93b 100644 --- a/nselib/dnsbl.lua +++ b/nselib/dnsbl.lua @@ -163,7 +163,7 @@ SERVICES = { return o end, resp_parser = function(self, r) - return ( ( r[1] and r[1] == "127.0.0.0" ) and { state = "SPAM" } ) + return ( ( r[1] and r[1] ~= "127.0.0.0" ) and { state = "SPAM" } ) end },