Felix Fietkau
|
eeb61522b5
|
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
|
2007-01-27 15:13:06 +00:00 |
|