1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-30 19:39:07 +00:00

Fix the nrpe-enum portrule. It was returning a function, thus always

true.
This commit is contained in:
david
2011-02-01 21:25:46 +00:00
parent 47030f71db
commit 21113fdfa9

View File

@@ -197,9 +197,7 @@ local nrpe_check = function(host, port, cmd)
return true, nrpe_read(resp)
end
portrule = function(host, port)
return shortport.port_or_service(5666, "nrpe")
end
portrule = shortport.port_or_service(5666, "nrpe")
action = function(host, port)
-- Get script arguments.