From fc061a79ba89727cbfabd2bf4582c53d6de5e876 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 6 Aug 2009 17:58:55 +0000 Subject: [PATCH] Add " ms" to the times in the RTT column in traceroute output. --- traceroute.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traceroute.cc b/traceroute.cc index 72982d5c5..5ba528cd2 100644 --- a/traceroute.cc +++ b/traceroute.cc @@ -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) {