From ba8e2b0aa1e52fca7b31b5e8ef14c5932e7aef95 Mon Sep 17 00:00:00 2001 From: "E. Kaparulin" Date: Fri, 26 Jun 2026 19:19:20 +0300 Subject: [PATCH] debug: log TUN read byte count --- konduit-platform/src/tun.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/konduit-platform/src/tun.rs b/konduit-platform/src/tun.rs index 8f6c1b8..517d3b5 100644 --- a/konduit-platform/src/tun.rs +++ b/konduit-platform/src/tun.rs @@ -185,7 +185,8 @@ impl TunDevice { info!("TUN device closed"); break; } - Ok(_) => { + Ok(n) => { + debug!("TUN read: {} bytes", n); if tun_pkt_tx.send(buf.freeze()).await.is_err() { break; }