From 5da7125fbba442a8749af34352c16767563c6e75 Mon Sep 17 00:00:00 2001 From: benya Date: Sun, 8 Feb 2026 04:30:57 +0300 Subject: [PATCH] Filter status network to enp interfaces --- handlers/status.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers/status.py b/handlers/status.py index 17af62b..d8fe503 100644 --- a/handlers/status.py +++ b/handlers/status.py @@ -93,6 +93,8 @@ async def _network_snapshot(interval: float = 1.0) -> str: for nic, s in end.items(): if nic.startswith("lo"): continue + if not nic.startswith("enp"): + continue e = start.get(nic) if not e: continue