This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/799] New: Resolver on GNU/kFreeBSD fails with IPv4 nameservers
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Mar 2005 17:07:42 -0000
- Subject: [Bug libc/799] New: Resolver on GNU/kFreeBSD fails with IPv4 nameservers
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
When used on GNU/kFreeBSD (Debian GNU/kFreeBSD), the resolver fails if the
nameserver are IPv4 nameservers, but works if the nameserver are IPv6 nameservers.
The problem is that the socklen argument of connect() is always the length of an
IPv6 socket address, even if the socket address is an IPv4 one. It does not hurt
the Linux kernel, but it does hurt the FreeBSD kernel.
Patch will follow. Please note that this patch doesn't break resolver on GNU/Linux.
--
Summary: Resolver on GNU/kFreeBSD fails with IPv4 nameservers
Product: glibc
Version: 2.3.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: aurelien at aurel32 dot net
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i386-kfreebsd-gnu
GCC host triplet: i386-kfreebsd-gnu
GCC target triplet: i386-kfreebsd-gnu
http://sources.redhat.com/bugzilla/show_bug.cgi?id=799
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.