txt connector should not rely on A record

This commit is contained in:
sijie.sun
2025-03-09 11:38:59 +08:00
committed by Sijie.Sun
parent 98d321f8ac
commit 7397abcb94
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -877,6 +877,9 @@ async fn run_main(cli: Cli) -> anyhow::Result<()> {
global_ctx.replace_stun_info_collector(Box::new(MockStunInfoCollector {
udp_nat_type: NatType::Unknown,
}));
let mut flags = global_ctx.get_flags();
flags.bind_device = false;
global_ctx.set_flags(flags);
let _wc = web_client::WebClient::new(
create_connector_by_url(c_url.as_str(), &global_ctx).await?,
token.to_string(),