1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 20:09:02 +00:00

Return nil, not false, from firewall-bypass.nse

This commit is contained in:
dmiller
2013-03-28 21:07:08 +00:00
parent beb0886776
commit 97c5aa0f0c

View File

@@ -222,7 +222,7 @@ action = function(host, port)
local status, _ = testsock:connect(host.ip, targetport)
if status then
stdnse.print_debug("%s %s target port already open.", SCRIPT_NAME, targetport)
return false
return nil
end
testsock:close()
else
@@ -257,7 +257,7 @@ action = function(host, port)
end
if not helpername then
stdnse.print_debug("%s no suitable helper found.", SCRIPT_NAME)
return false
return nil
end
end