missed port forward check

This commit is contained in:
rustdesk 2022-03-12 12:38:41 +08:00
parent 565e81d329
commit 3f57604891

View File

@ -547,7 +547,7 @@ impl Connection {
return;
}
#[cfg(target_os = "linux")]
if !self.file_transfer.is_some() {
if !self.file_transfer.is_some() && !self.port_forward_socket.is_some() {
let dtype = crate::platform::linux::get_display_server();
if dtype != "x11" {
res.set_error(format!(