bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] inetutils-ping6: Failing to resolve IPv6 address should


From: Guo Chunrong-B40290
Subject: [bug-inetutils] inetutils-ping6: Failing to resolve IPv6 address should not show error
Date: Mon, 1 Jul 2013 10:05:44 +0000

Hello,

 

For instance:

inetutils-ping6

$ ping6 2001:910:1059:2::1

PING 2001:910:1059:2::1 (2001:910:1059:2::1): 48 data bytes

ping: getnameinfo: Temporary failure in name resolution

56 bytes from unknown: icmp_seq=0 ttl=64 time=0.082 ms

 

This is not really pretty (and the numeric address could at least be

shown instead of "unknown", by passing NI_NUMERICHOST to getnameinfo).

 

Iputils-ping does not show this:

 

# ping6 2001:910:1059:2::1

PING 2001:910:1059:2::1(2001:910:1059:2::1) 56 data bytes

64 bytes from 2001:910:1059:2::1: icmp_seq=1 ttl=64 time=0.047 ms

 

How do  fix the issue ?

 

Thanks,

chunrong


reply via email to

[Prev in Thread] Current Thread [Next in Thread]