Fix IPv6-only lookups through getaddrinfo
commit0e779ef2a9fcfd13f5243224c82894ba797ecec3
authorUlrich Drepper <drepper@gmail.com>
Tue, 21 Jun 2011 21:03:38 +0000 (21 17:03 -0400)
committerAndreas Schwab <schwab@redhat.com>
Wed, 22 Jun 2011 08:49:40 +0000 (22 10:49 +0200)
tree41355d9d55bf26be780e8dec2d2a28bc4abcaab1
parent5babac1535735419921ca9edbf5f6c96a40296da
Fix IPv6-only lookups through getaddrinfo

A recent patch introduced a problem where IPv6 lookups happily returned
IPv4 addresses.
(cherry picked from commit c0244a9dedce43a4b950d91451b16a7cf5408476)
ChangeLog
sysdeps/posix/getaddrinfo.c