debug: log TUN read byte count

This commit is contained in:
E. Kaparulin
2026-06-26 19:19:20 +03:00
parent e63d41c153
commit ba8e2b0aa1

View File

@@ -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;
}