diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-01-27 15:13:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-01-27 15:13:06 +0000 |
commit | eeb61522b53ffd943268104a7019d62202865787 (patch) | |
tree | 9419d8a7724ff492be70b0690b12ba079a3b4afd /target | |
parent | b420fccd92ffb8efe257451d385e2db8babb61d2 (diff) | |
download | mtk-20170518-eeb61522b53ffd943268104a7019d62202865787.zip mtk-20170518-eeb61522b53ffd943268104a7019d62202865787.tar.gz mtk-20170518-eeb61522b53ffd943268104a7019d62202865787.tar.bz2 |
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
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions