Удалены slave сетевые устройства из списка

master-3.5
Mike Hiretsky 6 years ago
parent 027bdce05a
commit ac8d2bcaee

@ -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)

Loading…
Cancel
Save