diff options
author | Rod Smith <rod.smith@canonical.com> | 2017-09-21 16:07:02 -0400 |
---|---|---|
committer | Rod Smith <rod.smith@canonical.com> | 2017-09-21 16:07:02 -0400 |
commit | b5d00865d82569edfccc8201e870e4cd24bf4791 (patch) | |
tree | 51c7c70fbc13fdd447c8139764e0caf6ed4b4cc6 | |
parent | 8650fceb4be9424814c36e505c818256f94e73fd (diff) |
Fix problem with ethernet/detect test on Cavium Thunder X that caused udev to detect Ethernet devices that were unconfigured in the firmware.
-rwxr-xr-x | bin/network_device_info | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/network_device_info b/bin/network_device_info index da2f5a2..174fbe8 100755 --- a/bin/network_device_info +++ b/bin/network_device_info @@ -58,7 +58,7 @@ nm_devices = [] class UdevResult: def addDevice(self, device): - if device.category == 'NETWORK': + if device.category == 'NETWORK' and device.interface != "UNKNOWN": udev_devices.append(device) |