mirror of
https://github.com/nmap/nmap.git
synced 2026-02-08 06:26:33 +00:00
Reduce a level of indirection in traceroute entries in NSE
This commit is contained in:
@@ -154,7 +154,7 @@ action = function(host)
|
||||
-- avoid timedout hops, marked as empty entries
|
||||
-- do not add the current scanned host.ip
|
||||
if hop.ip then
|
||||
local rtt = tonumber(hop.times.srtt) * 1000
|
||||
local rtt = tonumber(hop.srtt) * 1000
|
||||
local geo
|
||||
if not ipOps.isPrivate(hop.ip) then
|
||||
-- be sure not to cache the target address, since it's not likely to be
|
||||
|
||||
Reference in New Issue
Block a user