mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
remove unnessarey dns call
This commit is contained in:
@@ -93,9 +93,6 @@ pub enum Data {
|
||||
|
||||
#[tokio::main(basic_scheduler)]
|
||||
pub async fn start(postfix: &str) -> ResultType<()> {
|
||||
if postfix.is_empty() {
|
||||
crate::common::test_nat_type();
|
||||
}
|
||||
let mut incoming = new_listener(postfix).await?;
|
||||
loop {
|
||||
if let Some(result) = incoming.next().await {
|
||||
|
||||
Reference in New Issue
Block a user