12 Jul
2005
12 Jul
'05
6:15 p.m.
On Thu, 2005-07-07 at 12:18 -0400, Brad wrote:
On Fri, Jul 01, 2005 at 01:29:53AM +0300, Timo Sirainen wrote:
Probably after v1.0:
- Fix IPv6 support to not rely upon v4-mapped addresses
Did this mean that binding should listen in both v4 and v6 addresses, or something else? I already applied a patch containing this code, does it help?
/* if using IPv6, bind both on the IPv4 and IPv6 addresses */
#ifdef IPV6_V6ONLY if (so.sin.sin_family == AF_INET6) { opt = 0; setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &opt, sizeof(opt)); } #endif