Fix ipv4/ipv6 resolving. When not using AF_INET, gethostbyname2_r tries to resolve...
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)
commiteeb61522b53ffd943268104a7019d62202865787
tree9419d8a7724ff492be70b0690b12ba079a3b4afd
parentb420fccd92ffb8efe257451d385e2db8babb61d2
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]