Fix ipv4/ipv6 resolving.
authorFelix Fietkau <nbd@openwrt.org>
Sat, 27 Jan 2007 15:13:06 +0000 (15:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 27 Jan 2007 15:13:06 +0000 (15:13 +0000)
commit4d990bdf5e59bfc42864aae858e03c15a8897b0a
tree0ea2b2c7833db3266a08214944c50c2c47ca6a62
parent6f5c4d494a6e55b570dc8ac3d249a74120d7ec16
Fix ipv4/ipv6 resolving.
When not using AF_INET, gethostbyname2_r tries to resolve an ipv6 address
from /etc/hosts using __get_hosts_byname_r, but with AF_INET instead of the
supplied address family. This returns ipv4 addresses marked as ipv6 ones.

SVN-Revision: 6217
toolchain/uClibc/patches/200-ipv6_hosts_resolve.patch [new file with mode: 0644]