From 5d6b1223cc707976cd480b364195a881aa73c694 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Thu, 27 Jul 2023 17:02:01 +0800 Subject: [PATCH] fix #5163 --- src/server/connection.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/connection.rs b/src/server/connection.rs index cb993301e09..ed51a6c290a 100644 --- a/src/server/connection.rs +++ b/src/server/connection.rs @@ -329,6 +329,7 @@ impl Connection { closed: false, delay_response_instant: Instant::now(), }; + let addr = hbb_common::try_into_v4(addr); if !conn.on_open(addr).await { conn.closed = true; // sleep to ensure msg got received.