diff --git a/scripts/traceroute-geolocation.nse b/scripts/traceroute-geolocation.nse index caf3a2184..6f9b7a254 100644 --- a/scripts/traceroute-geolocation.nse +++ b/scripts/traceroute-geolocation.nse @@ -48,8 +48,6 @@ saves the results to a KML file, plottable on Google earth and maps. -- e4-0.barleymow.stk.router.colt.net -- 62 -- 15 --- Sweden --- Unknown -- -- -- 6 @@ -58,8 +56,6 @@ saves the results to a KML file, plottable on Google earth and maps. -- te0-0-2-0-crs1.FRA.router.colt.net -- 54 -- -2 --- United Kingdom --- Unknown --
-- -- @args traceroute-geolocation.kmlfile full path and name of file to write KML @@ -127,7 +123,7 @@ local function output_hop(count, ip, name, rtt, lat, lon, ctry, reg) label = ("%s"):format(ip) end if lat then - table.insert(output_structured, { hop = count, ip = ip, hostname = name, rtt = ("%.2f"):format(rtt), lat = lat, lon = lon, region = reg, country = ctry }) + table.insert(output_structured, { hop = count, ip = ip, hostname = name, rtt = ("%.2f"):format(rtt), lat = lat, lon = lon }) tab.addrow(output, count, ("%.2f"):format(rtt), label, ("%d,%d %s (%s)"):format(lat, lon, ctry, reg)) table.insert(coordinates, { hop = count, lat = lat, lon = lon }) else