mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Simplify NSE timeout debug print
This commit is contained in:
parent
c3d54f1fac
commit
279be9917d
1 changed files with 1 additions and 4 deletions
|
|
@ -1048,10 +1048,7 @@ local function run (threads_iter, hosts)
|
|||
for co, thread in pairs(waiting) do
|
||||
if thread:timed_out() then
|
||||
waiting[co], all[co], num_threads = nil, nil, num_threads-1;
|
||||
thread:d("%THREAD %stimed out", thread.host
|
||||
and format("%s%s ", thread.host.ip,
|
||||
thread.port and ":"..thread.port.number or "")
|
||||
or "");
|
||||
thread:d("%THREAD_AGAINST timed out")
|
||||
thread:close(timeouts, "timed out");
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue