summaryrefslogtreecommitdiffstats
path: root/tools/include/getline.h
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-27 15:13:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-01-27 15:13:06 +0000
commitb871cf38ee081fab651dee95e7d3ff3ab4bdc27b (patch)
tree0ea2b2c7833db3266a08214944c50c2c47ca6a62 /tools/include/getline.h
parentf412fe192a8c2e4a43c673075b5e4a8619b4df4a (diff)
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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6217 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/include/getline.h')
0 files changed, 0 insertions, 0 deletions