modified: src/client.rs
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good

This commit is contained in:
Michael Wain 2024-10-04 23:03:39 +03:00
parent 576df1661d
commit 2a62090b53

View File

@ -134,10 +134,11 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32) {
}
}
}*/
let mut buf = vec![0; 8192];
while let Ok(n) = dev_reader.read(&mut buf) {
info!("Read from tun. {:?} bytes", n);
loop {
while let Ok(n) = dev_reader.read(&mut buf) {
info!("Read from tun. {:?} bytes", n);
}
}
info!("end.");
}