Subject: bin/30226: ping6(8) and ping(8) are inconsistent in the output of round-trip times
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <ndehne@gmail.com>
List: netbsd-bugs
Date: 05/14/2005 05:07:00
>Number: 30226
>Category: bin
>Synopsis: ping6(8) and ping(8) are inconsistent in the output of round-trip times
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat May 14 05:07:00 +0000 2005
>Originator: Nino Dehne
>Release: 3.0_BETA
>Organization:
>Environment:
NetBSD [...] 3.0_BETA NetBSD 3.0_BETA (WRAP) #0: Fri May 13 12:40:40 CEST 2005 [...]:/usr/home/build/wrap/obj/usr
/home/build/wrap/src/sys/arch/i386/compile/WRAP i386
>Description:
ping(8) outputs round-trip times with 1/1000ms precision and fixed format. ping6(8), OTOH, strips trailing zeros. It would be nice to be consistent.
# ping www.netbsd.org
PING www.netbsd.org (204.152.190.12): 56 data bytes
64 bytes from 204.152.190.12: icmp_seq=0 ttl=246 time=201.050 ms
# ping6 www.netbsd.org
PING6(56=40+8+8 bytes) [...] --> 2001:4f8:4:7:2e0:81ff:fe52:9a6b
16 bytes from 2001:4f8:4:7:2e0:81ff:fe52:9a6b, icmp_seq=0 hlim=41 time=235.597 ms
16 bytes from 2001:4f8:4:7:2e0:81ff:fe52:9a6b, icmp_seq=1 hlim=41 time=235.26 ms
>How-To-Repeat:
>Fix: