getent hosts does not resolve hostnames with ipv6
getent.c uses gethostbyname and does not try look hostnames with ipv6. we should refactor it to use getaddrinfo.
(from redmine: issue id 6590, created on 2016-12-27, closed on 2017-01-26)
- Changesets:
- Revision 89a718d8 by Timo Teräs on 2016-12-29T11:56:17Z:
main/musl: upstream fixes, and add ipv6 features to getent
fixes #6590
- Revision 2e449388 by Timo Teräs on 2017-01-26T20:48:39Z:
main/musl: upstream fixes, and add ipv6 features to getent
fixes #6590
(cherry picked from commit 89a718d88ec7466e721f3bbe9ede5ffe58061d78)