Changed output formatting to correctly represent the precision - it's
not cool to truncate trailing zeros..
This commit is contained in:
parent
6439f9e911
commit
59df70ee2f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2393
@ -507,7 +507,7 @@ main(argc, argv)
|
||||
print(packet, cc, &from);
|
||||
lastaddr = from.sin_addr.s_addr;
|
||||
}
|
||||
Printf(" %g ms", deltaT(&t1, &t2));
|
||||
Printf(" %.3f ms", deltaT(&t1, &t2));
|
||||
switch(i - 1) {
|
||||
case ICMP_UNREACH_PORT:
|
||||
#ifndef ARCHAIC
|
||||
|
Loading…
Reference in New Issue
Block a user