From dcc39bc640adc4dc1b326162dbe8d682cb035447 Mon Sep 17 00:00:00 2001 From: Janne Koschinski Date: Wed, 2 Jan 2019 19:35:00 +0100 Subject: [PATCH] Make the identd listen on all adresses --- src/core/identserver.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/identserver.cpp b/src/core/identserver.cpp index 5a48b5b9..c1cb5d03 100644 --- a/src/core/identserver.cpp +++ b/src/core/identserver.cpp @@ -36,14 +36,14 @@ bool IdentServer::startListening() uint16_t port = Quassel::optionValue("ident-port").toUShort(); bool success = false; - if (_v6server.listen(QHostAddress("::1"), port)) { - qInfo() << qPrintable(tr("Listening for identd clients on IPv6 %1 port %2").arg("::1").arg(_v6server.serverPort())); + if (_v6server.listen(QHostAddress("::"), port)) { + qInfo() << qPrintable(tr("Listening for identd clients on IPv6 %1 port %2").arg("::").arg(_v6server.serverPort())); success = true; } - if (_server.listen(QHostAddress("127.0.0.1"), port)) { - qInfo() << qPrintable(tr("Listening for identd clients on IPv4 %1 port %2").arg("127.0.0.1").arg(_server.serverPort())); + if (_server.listen(QHostAddress("0.0.0.1"), port)) { + qInfo() << qPrintable(tr("Listening for identd clients on IPv4 %1 port %2").arg("0.0.0.1").arg(_server.serverPort())); success = true; } -- 2.20.1