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-07 03:21:31 +03:00
parent f8a1d5011f
commit a9d823a8e2

View File

@ -23,6 +23,10 @@ use network_interface::NetworkInterface;
use network_interface::NetworkInterfaceConfig;
pub async fn client_mode(client_config: ClientConfiguration, fd: i32) {
if let Err(err) = log::set_boxed_logger(Box::<crate::simple_log::SimpleLogger>::default()) {
warn!("set logger error: {}", err);
}
info!("Starting client...");
let sock = UdpSocket::bind("0.0.0.0:25565").await.unwrap();