[uClibc] [uClibc 0000206]: [PATCH] uClibc cannot resolve IPv6 addresses from /etc/hosts

bugs at busybox.net bugs at busybox.net
Mon Apr 4 21:20:12 UTC 2005


The following issue has been SUBMITTED.
======================================================================
<http://busybox.net/bugs/view.php?id=206> 
======================================================================
Reported By:                nbd
Assigned To:                uClibc
======================================================================
Project:                    uClibc
Issue ID:                   206
Category:                   Networking Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             04-04-2005 14:20 PDT
Last Modified:              04-04-2005 14:20 PDT
======================================================================
Summary:                    [PATCH] uClibc cannot resolve IPv6 addresses from
/etc/hosts
Description: 
This patch fixes two erros in host lookup for IPv6:

1. gethostbyname2_r calls __get_hosts_byname_r, but with AF_INET as type
2. when __read_etc_hosts_r is searching for an IPv6 address and encounters
an IPv4 address, it stops searching and returns an error. This prevents the
user from having IPv4 and IPv6 addresses for the same host name.

The attached patch fixes both.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-04-05 14:20 nbd            New Issue                                    
04-04-05 14:20 nbd            File Added: inet6_hosts_resolve.patch             
      
======================================================================




More information about the uClibc mailing list