android direct ip access

This commit is contained in:
csf committed 2022-09-29 13:07:20 +08:00
1 parent 0abda2edef
commit 9911f4d2f5
7 files changed
+153 -38

No files matched your search

+1
View File
@@ -317,6 +317,7 @@ async fn test_nat_type_() -> ResultType<bool> {
break;
}
}
Config::set_option("local-ip-addr".to_owned(), addr.ip().to_string());
let ok = port1 > 0 && port2 > 0;
if ok {
let t = if port1 == port2 {