diff --git a/pym/calculate/lib/utils/ip.py b/pym/calculate/lib/utils/ip.py index 13e5b11..86f75c6 100644 --- a/pym/calculate/lib/utils/ip.py +++ b/pym/calculate/lib/utils/ip.py @@ -246,6 +246,9 @@ def getInterfaces(): return False if device.sysfs.exists(x, "bonding_slave"): return False + # exclude slave devices + if any(device.sysfs.glob(x, "lower_*")): + return False return True return sorted(path.basename(x)