mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-11-24 12:25:30 +08:00
bug fix
This commit is contained in:
parent
452b993ad6
commit
af4469711c
@ -401,7 +401,9 @@ impl RendezvousServer {
|
||||
let id = rk.id;
|
||||
let mut res = register_pk_response::Result::OK;
|
||||
if let Some(peer) = self.pm.get(&id).await {
|
||||
if peer.uuid != rk.uuid {
|
||||
if peer.uuid.is_empty() {
|
||||
self.pm.update_pk(id, addr, rk.uuid, rk.pk);
|
||||
} else if peer.uuid != rk.uuid {
|
||||
log::warn!(
|
||||
"Peer {} uuid mismatch: {:?} vs {:?}",
|
||||
id,
|
||||
|
Loading…
Reference in New Issue
Block a user