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 | 5987213ee80097f217a72172654515659f5073ea (patch) | |
| tree | 0ea2b2c7833db3266a08214944c50c2c47ca6a62 /scripts | |
| parent | 7449be1dd96a7933536d10c4c6d41d7af114c37b (diff) | |
| download | upstream-5987213ee80097f217a72172654515659f5073ea.tar.gz upstream-5987213ee80097f217a72172654515659f5073ea.tar.bz2 upstream-5987213ee80097f217a72172654515659f5073ea.zip | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions
