Red Hat Bugzilla – Bug 66659
ping6 does not add newline to error messages it prints
Last modified: 2015-03-04 20:10:45 EST
Doing like (even without IPv6 connectivity but IPv6 module loaded):
$ ping6 -I eth0 fe80::3
PING fe80::3(fe80::3) from fe80::202:b3ff:fe1a:e2bf eth0: 56 data bytes
From ::1 icmp_seq=1 Destination unreachable: Address unreachableFrom ::1
icmp_seq=2 Destination unreachable: Address unreachableFrom ::1 icmp_seq=3
Destination unreachable: Address unreachable
--- fe80::3 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% loss, time 3999ms
Notice that there is no newline between errors. This is different to what
IPv4 ping. This was broken at an update from earlier versions of iputils.
It seems receive_error_msg() and parse_reply() in ping6.c are a bit out of
This has been reported to upstream.
Created attachment 60784 [details]
patch to the immediate problem.
OK, included patch in latest rawhide build.
Read ya, Phil