Re: [PATCH] Fix resolve when identical IPv4 and IPv6 hosts are defined in /etc/hosts

2007-09-26 Thread Hans-Christian Egtvedt
On Tue, 2007-09-18 at 10:44 +0200, Hans-Christian Egtvedt wrote: This patch will fix a problem when the same host is defined with both IPv4 and IPv6 entries in /etc/hosts. Previous only the first of these host would work, as uClibc would read the /etc/hosts file from top to bottom, failing if

[PATCH] Fix resolve when identical IPv4 and IPv6 hosts are defined in /etc/hosts

2007-09-18 Thread Hans-Christian Egtvedt
This patch will fix a problem when the same host is defined with both IPv4 and IPv6 entries in /etc/hosts. Previous only the first of these host would work, as uClibc would read the /etc/hosts file from top to bottom, failing if the first hit did not match the IP type. Now uClibc will continue