Remove IP address from inuse detection

audioplugins
Phil Taylor 2021-02-08 10:23:23 +00:00
rodzic f1817874b5
commit 563b7feb1c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -205,7 +205,7 @@ void udpHandler::DataReceived()
{
devName = parseNullTerminatedString(r, 64);
QHostAddress ip = QHostAddress(qFromBigEndian<quint32>(r.mid(0x84, 4)));
if (parseNullTerminatedString(r, 0x64) != compName || ip != localIP )
if (parseNullTerminatedString(r, 0x64) != compName) // || ip != localIP ) // TODO: More testing of IP address detection code!
{
emit haveNetworkStatus("Radio in use by: " + QString::fromUtf8(parseNullTerminatedString(r, 0x64))+" ("+ip.toString()+")");
}