From: Marcus Eggenberger Date: Tue, 8 Jul 2008 10:37:34 +0000 (+0200) Subject: make the core listen on ipv6 interfaces too (thanks al_) X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=ae85dfeaf07b68d99327348d92bc0d253264f11f make the core listen on ipv6 interfaces too (thanks al_) --- diff --git a/src/core/core.cpp b/src/core/core.cpp index 792bff3f..87a6b33a 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -340,7 +340,7 @@ QHash Core::bufferLastSeenMsgIds(UserId user) { /*** Network Management ***/ bool Core::startListening(uint port) { - if(!server.listen(QHostAddress::Any, port)) { + if(!server.listen(QHostAddress::AnyIPv6, port)) { qWarning("%s", qPrintable(QString("Could not open GUI client port %1: %2").arg(port).arg(server.errorString()))); return false; }