added debugging for net detectin

This commit is contained in:
2025-08-02 12:41:19 +02:00
parent 8d23506601
commit 2177ff0adb

View File

@@ -656,7 +656,13 @@ fn get_network_traffic() -> Option<(u64, u64)> {
let mut total_rx = 0;
let mut total_tx = 0;
for (_, data) in &networks {
for (h, data) in &networks {
println!(
"Interface: {}, RX: {}, TX: {}",
h,
data.received(),
data.transmitted()
);
total_rx += data.received();
total_tx += data.transmitted();
}