From fd7ab537720c4c8d36a5bd02df4ca08ab980aaa4 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 21 Nov 2009 00:46:03 +0000 Subject: [PATCH] Put the target IP address in NSE host timeout messages. --- nse_main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nse_main.lua b/nse_main.lua index 8795217f7..498a9cdf2 100644 --- a/nse_main.lua +++ b/nse_main.lua @@ -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