1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-08 07:29:03 +00:00

Add " ms" to the times in the RTT column in traceroute output.

This commit is contained in:
david
2009-08-06 17:58:55 +00:00
parent 1d45eaf352
commit fc061a79ba

View File

@@ -987,7 +987,7 @@ Traceroute::outputTarget (Target * t) {
/* normal hop output (rtt, ip and hostname) */
if (!tp->timing.consolidated && !last_consolidation) {
Snprintf(timebuf, 16, "%.2f", (float)
Snprintf(timebuf, 16, "%.2f ms", (float)
TIMEVAL_SUBTRACT (tp->timing.recvTime, tp->timing.sendTime) / 1000);
Tbl->addItemFormatted (row_count, HOP_COL, false, "%d", tp->ttl);
if (tp->timing.getState () != P_TIMEDOUT) {