modified: src/mobile.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
This commit is contained in:
parent
bed2d4d3a0
commit
a809fb2f62
@ -8,7 +8,7 @@ use jni::sys::jint;
|
||||
pub fn mobile_run(cfg_raw: String, close_fd_on_drop: bool, tun_fd: jint) -> c_int {
|
||||
let config: ClientConfiguration = serde_yaml::from_slice(RFC4648.decode(cfg_raw.as_bytes()).unwrap().as_slice()).expect("Bad client config file structure");
|
||||
|
||||
let block = client::client_mode(config, tun_fd);
|
||||
client::client_mode(config, tun_fd).await;
|
||||
/*let block = async move {
|
||||
let mut config = tun2::Configuration::default();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user