modified: src/client.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit

This commit is contained in:
Michael Wain 2024-10-08 02:47:13 +03:00
parent caeed57eab
commit 3c7b1398ce

View File

@ -59,7 +59,7 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
let mut buf = vec![0; 1400]; // mtu
loop {
if let Ok(n) = dev_reader.read(&mut buf) {
llltx.send("Read from tun.".as_bytes().to_vec());
llltx.send(format!("Read from tun. {:?}", hex::encode(buf[..n])).as_bytes().to_vec());
dx.send(buf[..n].to_vec()).unwrap();
}
}