[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 102497] kdm not listening on IPv4
From: Thiago Macieira <thiago () kde ! org>
Date: 2005-03-31 1:19:05
Message-ID: 20050331011905.23001.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=102497
------- Additional Comments From thiago kde org 2005-03-31 03:19 -------
IPv6 is defined by the RFCs to, by default, listen on IPv4 as well. The IPV6_V6ONLY \
option was added as an afterthought. It's not supposed to be the default.
The bug is in your system-wide configuration.
kdm can, however, add a workaround. It can do as the rest of KDE does: unset \
IPV6_V6ONLY by default.
Ossi:
#if defined(IPPROTO_IPV6) && defined(IPV6_V6ONLY)
int on = 0;
if (setsockopt(m_sockfd, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&on,
sizeof(on)) == -1)
{
return false; // error
}
return true; // success
#endif
Add this after the socket is created.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic