1 diff -urN uClibc-0.9.27.old/libc/inet/resolv.c uClibc-0.9.27/libc/inet/resolv.c
2 --- uClibc-0.9.27.old/libc/inet/resolv.c 2005-01-12 08:59:21.000000000 +0100
3 +++ uClibc-0.9.27/libc/inet/resolv.c 2005-04-04 22:14:38.000000000 +0200
5 int old_errno = errno; /* Save the old errno and reset errno */
6 __set_errno(0); /* to check for missing /etc/hosts. */
8 - if ((i=__get_hosts_byname_r(name, AF_INET, result_buf,
9 + if ((i=__get_hosts_byname_r(name, AF_INET6, result_buf,
10 buf, buflen, result, h_errnop))==0)
13 diff -urN uClibc-0.9.27.old/libc/inet/resolv.c uClibc-0.9.27/libc/inet/resolv.c
14 --- uClibc-0.9.27.old/libc/inet/resolv.c 2005-04-04 22:16:54.000000000 +0200
15 +++ uClibc-0.9.27/libc/inet/resolv.c 2005-04-04 22:46:59.000000000 +0200
20 - break; /* bad ip address */
21 + continue; /* bad ip address, ignore */
24 if (action!=GETHOSTENT) {