mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-06 00:39:16 +00:00
remove unnessarey dns call
This commit is contained in:
1 parent
b7ab1405ee
commit
bdfb59dd1a
3 files changed
+12
-4
No files matched your search
@@ -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