mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 10:59:02 +00:00
Put the target IP address in NSE host timeout messages.
This commit is contained in:
@@ -597,7 +597,8 @@ local function run (threads)
|
||||
for co, thread in pairs(waiting) do
|
||||
if cnse.timedOut(thread.host) then
|
||||
waiting[co] = nil;
|
||||
thread:d("%THREAD target timed out");
|
||||
thread:d("%THREAD %s%s timed out", thread.host.ip,
|
||||
thread.port and ":"..thread.port.number or "");
|
||||
thread:close();
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user