listen to all interfaces

pull/1/head
Michael Zanetti 2014-04-01 01:25:14 +02:00
parent 6859bd2b78
commit 59e8233e45
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
HttpDaemon::HttpDaemon(Device *device, DevicePlugin *parent):
QTcpServer(parent), disabled(false), m_plugin(parent), m_device(device)
{
listen(QHostAddress::LocalHost, device->params().value("httpport").toInt());
listen(QHostAddress::Any, device->params().value("httpport").toInt());
}
void HttpDaemon::incomingConnection(qintptr socket)