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

Mike Frysinger vapier at gentoo.org
Fri Sep 28 14:17:54 PDT 2007


On Tuesday 18 September 2007, 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 the first hit did not match the IP type.
>
> Now uClibc will continue reading, even if the first correct entry name, but
> wrong IP type fails. Thus, allowing a second correct entry name with
> correct IP type will result in a name resolve.
>
> Signed-off-by: Hans-Christian Egtvedt <hcegtvedt at atmel.com>

merged, thanks
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/uclibc/attachments/20070928/caa0ddad/attachment.pgp 


More information about the uClibc mailing list