Removed a case where we would still add a link on old protocol versions
This commit is contained in:
parent
cfc1f8fd38
commit
cb0fd1fe20
1 changed files with 2 additions and 1 deletions
|
@ -400,7 +400,8 @@ void LanLinkProvider::dataReceived()
|
|||
|
||||
socket->startClientEncryption();
|
||||
} else {
|
||||
addLink(deviceId, socket, np, LanDeviceLink::Locally);
|
||||
qWarning() << "Incompatible protocol version, this won't work";
|
||||
//addLink(deviceId, socket, np, LanDeviceLink::Locally);
|
||||
delete receivedIdentityPackages.take(socket).np;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue