Filter status network to enp interfaces
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user