mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Return nil, not false, from firewall-bypass.nse
This commit is contained in:
parent
beb0886776
commit
97c5aa0f0c
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue