From b0f26aabc3d5c5fc208cf060f55a44d39eaa7dc2 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 4 Sep 2026 16:57:04 +0800 Subject: [PATCH] port forward: the legacy comment names the mapping, not the window Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01EZ49AbZJYfm8NTp5yDPMab --- src/port_forward.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/port_forward.rs b/src/port_forward.rs index ee4980c63..9a02f62e5 100644 --- a/src/port_forward.rs +++ b/src/port_forward.rs @@ -146,9 +146,9 @@ pub async fn listen( } // A `Legacy` listener stays legacy until it closes: every accept // logs in on its own, asks for no tunnel, and takes the raw pipe - // whatever the peer reports. Reopening the window is how a user - // picks up an upgraded peer; nothing switches modes underneath - // live connections. + // whatever the peer reports. Re-adding the mapping, or reopening + // the window, is how a user picks up an upgraded peer; nothing + // switches modes underneath live connections. Claim::Legacy => { { let mut lc = lc.write().unwrap();