mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 14:09:02 +00:00
applied patch from Thomas Buchanan that fixes a bug in the upnp library that
would incorrectly report ports as open if the connection timed out.
This commit is contained in:
@@ -171,7 +171,7 @@ Comm = {
|
||||
return true, result
|
||||
end
|
||||
|
||||
if ( #response > 0 ) then
|
||||
if ( status and #response > 0 ) then
|
||||
return true, result[1]
|
||||
else
|
||||
return false, "Received no responses"
|
||||
|
||||
Reference in New Issue
Block a user