This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/9981] New: getaddrinfo prefers listening on ipv4-only over ipv4+ipv6
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Mar 2009 23:28:51 -0000
- Subject: [Bug libc/9981] New: getaddrinfo prefers listening on ipv4-only over ipv4+ipv6
- Reply-to: sourceware-bugzilla at sourceware dot org
The current getaddrinfo code prefers listening on ipv4-only instead of
ipv4+ipv6 as previously. The gaitest.c file demonstrates the problem.
On a machine with both ipv4 and ipv6 connectivity, it returns:
* ipv4 (only)
* ipv6+ipv4
Listening for ipv6 connections never hurts, even if no one will ever
reach the server via ipv6.
--
Summary: getaddrinfo prefers listening on ipv4-only over
ipv4+ipv6
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: aurelien at aurel32 dot net
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=9981
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.