mirror of
https://github.com/nmap/nmap.git
synced 2026-06-20 23:53:35 +00:00
Add " ms" to the times in the RTT column in traceroute output.
This commit is contained in:
parent
1d45eaf352
commit
fc061a79ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue