diff options
author | Eric Andersen <andersen@codepoet.org> | 2007-02-02 00:23:55 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2007-02-02 00:23:55 +0000 |
commit | 9af4b40d3886077df93b02458026f6a9766ac6c9 (patch) | |
tree | 1b4514bea794adb7a2f629a1431bd1e72d94f1ed /include/locale.h | |
parent | 28f3c7c9130c9a8e796f40fe81745035c774b36a (diff) |
fix obvious bug in 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. Fix from nbd.
Diffstat (limited to 'include/locale.h')
0 files changed, 0 insertions, 0 deletions