1
0
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:
david
2009-11-21 00:46:03 +00:00
parent e2315ae075
commit fd7ab53772

View File

@@ -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