more test_nat_type

This commit is contained in:
rustdesk
2022-01-24 03:15:01 +08:00
parent a3511d9157
commit 1cda704628
2 changed files with 6 additions and 4 deletions

View File

@@ -212,6 +212,7 @@ async fn handle(data: Data, stream: &mut Connection) {
} else {
Config::set_socks(Some(data));
}
crate::common::test_nat_type();
crate::rendezvous_mediator::RendezvousMediator::restart();
log::info!("socks updated");
}