From: Janne Koschinski Date: Wed, 2 Jan 2019 16:22:13 +0000 (+0100) Subject: Make the identd listen on all addresses X-Git-Tag: 0.13.1~17 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=3a4a8a8d5f1f2c38ed9fb6d566ab7a166a78d6e5;ds=sidebyside Make the identd listen on all addresses --- diff --git a/src/core/identserver.cpp b/src/core/identserver.cpp index e49054e6..1d634d80 100644 --- a/src/core/identserver.cpp +++ b/src/core/identserver.cpp @@ -37,20 +37,20 @@ bool IdentServer::startListening() uint16_t port = Quassel::optionValue("ident-port").toUShort(); bool success = false; - if (_v6server.listen(QHostAddress("::1"), port)) { + if (_v6server.listen(QHostAddress("::"), port)) { quInfo() << qPrintable( tr("Listening for identd clients on IPv6 %1 port %2") - .arg("::1") + .arg("::") .arg(_v6server.serverPort()) ); success = true; } - if (_server.listen(QHostAddress("127.0.0.1"), port)) { + if (_server.listen(QHostAddress("0.0.0.0"), port)) { quInfo() << qPrintable( tr("Listening for identd clients on IPv4 %1 port %2") - .arg("127.0.0.1") + .arg("0.0.0.0") .arg(_server.serverPort()) );