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

bugs at busybox.net bugs at busybox.net
Tue Jun 3 17:08:51 UTC 2008


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             04-04-2005 14:20 PDT
Last Modified:              06-03-2008 10:08 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.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 06-03-08 10:08  
---------------------------------------------------------------------- 
Both bugs are already fixed. 

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            
       
06-03-08 10:08  vda            Status                   assigned => closed  
06-03-08 10:08  vda            Note Added: 0008084                          
======================================================================




More information about the uClibc-cvs mailing list