From 1a28e071e937d4aba40bd86a5d048d79ba93c136 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 26 Sep 2024 10:10:15 +0200 Subject: [PATCH] fix bug remove usb nets iface --- evidence/parse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evidence/parse.py b/evidence/parse.py index d07f313..1ec972c 100644 --- a/evidence/parse.py +++ b/evidence/parse.py @@ -11,7 +11,7 @@ from utils.constants import ALGOS, CHASSIS_DH def get_network_cards(child, nets): - if child['id'] == 'network': + if child['id'] == 'network' and "PCI:" in child.get("businfo"): nets.append(child) if child.get('children'): [get_network_cards(x, nets) for x in child['children']]