diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-06-21 17:03:38 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-06-21 17:03:38 -0400 |
commit | c0244a9dedce43a4b950d91451b16a7cf5408476 (patch) | |
tree | 49e776a11f30fbe72341d873f071145983701c2d /ChangeLog | |
parent | c5e3c2ae59cc8c5d3ad5e1adfd099c726baad862 (diff) | |
download | glibc-c0244a9dedce43a4b950d91451b16a7cf5408476.tar glibc-c0244a9dedce43a4b950d91451b16a7cf5408476.tar.gz glibc-c0244a9dedce43a4b950d91451b16a7cf5408476.tar.bz2 glibc-c0244a9dedce43a4b950d91451b16a7cf5408476.zip |
Fix IPv6-only lookups through getaddrinfo
A recent patch introduced a problem where IPv6 lookups happily returned
IPv4 addresses.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2011-06-21 Ulrich Drepper <drepper@gmail.com> + [BZ #12885] + * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6 + addresses using gethostbyname4_r ignore IPv4 addresses. + * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the branch using gethostbyname2 is only for AF_INET. Optimize accordingly. |