1
0
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:
dmiller
2018-06-28 03:43:24 +00:00
parent a0418c0b89
commit 7d724a69a2
3 changed files with 2 additions and 4 deletions

View File

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