This commit is contained in:
rustdesk committed 2023-02-08 16:00:12 +08:00
1 parent 33f54ba5aa
commit 7e307a5a1c
11 files changed
+19 -21

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ impl RendezvousServer {
#[tokio::main(flavor = "multi_thread")]
pub async fn start(port: i32, serial: i32, key: &str, rmem: usize) -> ResultType<()> {
let (key, sk) = Self::get_server_sk(key);
let addr = format!("0.0.0.0:{}", port);
let addr = format!("0.0.0.0:{port}");
let nat_port = port - 1;
let ws_port = port + 2;
let pm = PeerMap::new().await?;