fix mixup in upnp discovery response
This commit is contained in:
parent
314129a76f
commit
651e0bd3d8
@ -598,9 +598,9 @@ QByteArray WebServer::createServerXmlDocument(QHostAddress address)
|
||||
}
|
||||
if (tcpServerFound) {
|
||||
if (tcpServerConfiguration.sslEnabled) {
|
||||
writer.writeTextElement("guhRpcURL", "guh://" + address.toString() + ":" + QString::number(tcpServerConfiguration.port));
|
||||
} else {
|
||||
writer.writeTextElement("guhRpcURL", "guhs://" + address.toString() + ":" + QString::number(tcpServerConfiguration.port));
|
||||
} else {
|
||||
writer.writeTextElement("guhRpcURL", "guh://" + address.toString() + ":" + QString::number(tcpServerConfiguration.port));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user