diff --git a/libnymea-remoteproxy/proxyserver.cpp b/libnymea-remoteproxy/proxyserver.cpp index d4c61d1..c7f20c1 100644 --- a/libnymea-remoteproxy/proxyserver.cpp +++ b/libnymea-remoteproxy/proxyserver.cpp @@ -185,8 +185,8 @@ void ProxyServer::establishTunnel(ProxyClient *firstClient, ProxyClient *secondC secondClient->setTunnelConnected(true); qCDebug(dcProxyServer()) << tunnel; - qCDebug(dcTunnel()) << "Tunnel established between" << firstClient->peerAddress().toString() << firstClient->uuid() - << "<-->" << secondClient->peerAddress().toString() << secondClient->uuid(); + qCDebug(dcTunnel()) << "Tunnel established between" << firstClient->peerAddress().toString() << firstClient->clientId() + << "<-->" << secondClient->peerAddress().toString() << secondClient->clientId(); m_totalTunnelCount += 1; saveStatistics(); @@ -249,8 +249,8 @@ void ProxyServer::onClientDisconnected(const QUuid &clientId) TunnelConnection tunnelConnection = m_tunnels.take(proxyClient->tunnelIdentifier()); Engine::instance()->logEngine()->logTunnel(tunnelConnection); if (remoteClient) { - qCDebug(dcTunnel()) << "Remove tunnel between" << proxyClient->peerAddress().toString() << proxyClient->uuid() - << "<-->" << remoteClient->peerAddress().toString() << remoteClient->uuid(); + qCDebug(dcTunnel()) << "Remove tunnel between" << proxyClient->peerAddress().toString() << proxyClient->clientId() + << "<-->" << remoteClient->peerAddress().toString() << remoteClient->clientId(); remoteClient->killConnection("Tunnel client disconnected"); } }