Removed a case where we would still add a link on old protocol versions

This commit is contained in:
Albert Vaca 2016-06-15 20:38:57 +02:00
parent cfc1f8fd38
commit cb0fd1fe20

View file

@ -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;
}
}