mirror of
https://github.com/nmap/nmap.git
synced 2026-09-09 05:05:48 +00:00
Reduce a level of indirection in traceroute entries in NSE
This commit is contained in:
parent
a0418c0b89
commit
7d724a69a2
3 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue