On Tue, Sep 15, 2009 at 07:51:00AM +0200, Roland Clobus wrote:
> On Sat, 2009-09-12 at 15:57 +0200, Bas Wijnen wrote:
> > I've written a patch which listens on everything returned by
> > getaddrinfo.  The call returns two structures, but the second bind fails
> > with "address already in use".  It seems the problem doesn't occur in
> > Debian, because it automatically listens on both IPv4 and IPv6(?)  So
> > I'm a bit confused: this is a Debian bug, so the problem presumably
> > exists on Debian systems.  This may be different on GNU/kFreeBSD, but
> > the reporter is using GNU/Linux, like the system I'm testing on.

> > Anyway, I'm attaching the patch.

> That patch does not work as advertised. I get the error, and the result
> (according to netstat) is that the server only listens on IPv4.

> Somewhere when I upgraded to kernel 2.6.30 Pioneers broke, so I assume
> that the automatic IPv6<->IPv4 bridge was removed.

> I still think that this bug report now contains two bugs reports:
> 1) Fixing playing games with localhost (especially for computer players)
> 2) Making the server IPv6 compliant

> No 1. is fixed, and that fix alone should be enough to make a new
> release.
> It would be nice if no 2. would be fixed, but that can be done slightly
> later.

Except that you've fixed #1 in a manner which is redundant if #2 were fixed
properly.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to