Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "ping: fix ping6 name resolution for hostnames with link-local…
… addresses" This reverts commit d217170. Reverting it allows pinging IPv4-mapped IPv6 address because glibc... fe80::fc54:ff:fe29:5693%vnet0 Pinging IPv6 link scope address without scope ID still works: $ ./builddir/ping/ping -v -c1 fe80::fc54:ff:fe29:5693 ./builddir/ping/ping: sock4.fd: 3 (socktype: SOCK_RAW), sock6.fd: 4 (socktype: SOCK_RAW), hints.ai_family: AF_UNSPEC ai->ai_family: AF_INET6, ai->ai_canonname: 'fe80::fc54:ff:fe29:5693' PING fe80::fc54:ff:fe29:5693 (fe80::fc54:ff:fe29:5693) 56 data bytes 64 bytes from fe80::fc54:ff:fe29:5693%vnet0: icmp_seq=1 ident=53558 ttl=64 time=0.066 ms --- fe80::fc54:ff:fe29:5693 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.066/0.066/0.066/0.000 ms Therefore there is no reason to force Original effort from issue iputils#252 [1] (PR#253 [2]) [1] iputils#252 [2] iputils#253
- Loading branch information