From 3a631594e35cf5a2eaeb8de1a8552f526fc02001 Mon Sep 17 00:00:00 2001 From: alterdekim Date: Thu, 26 Sep 2024 03:06:59 +0300 Subject: [PATCH] modified: src/client.rs --- src/client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.rs b/src/client.rs index ac8c08b..e627a66 100644 --- a/src/client.rs +++ b/src/client.rs @@ -48,6 +48,7 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32) { let tun_reader_task = tokio::spawn(async move { let mut buf = vec![0; 8192]; while let Ok(n) = dev_reader.read(&mut buf) { + info!("Read from tun"); dx.send(buf[..n].to_vec()).unwrap(); } });