Re: ipv6/ipv4 co-operation problem

From: Steve Dodd (steved@loth.demon.co.uk)
Date: Tue Jun 13 2000 - 15:01:12 EST


On Tue, Jun 13, 2000 at 03:52:30PM +0300, Tero Pelander wrote:

> Description of bug:
> Call to bind() for INADDR_ANY port 1234 fails if IN6ADDR_ANY_INIT
> port 1234 has already been bound. Also the reverse is true.
> If you specify ip-addresses instead of using *ADDR_ANY* the same
> port number won't cause a problem.

Isn't that a feature? I don't know a lot about IPv6, but I assume binding
to IN6ADDR_ANY should bind to all (internet address, port) pairs that are
representable in an IPv6 address - which includes IPv4 addresses.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:29 EST