mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-17 12:31:29 +03:00
missed port forward check
This commit is contained in:
@@ -547,7 +547,7 @@ impl Connection {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#[cfg(target_os = "linux")]
|
#[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();
|
let dtype = crate::platform::linux::get_display_server();
|
||||||
if dtype != "x11" {
|
if dtype != "x11" {
|
||||||
res.set_error(format!(
|
res.set_error(format!(
|
||||||
|
|||||||
Reference in New Issue
Block a user