From b5d00865d82569edfccc8201e870e4cd24bf4791 Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Thu, 21 Sep 2017 16:07:02 -0400 Subject: Fix problem with ethernet/detect test on Cavium Thunder X that caused udev to detect Ethernet devices that were unconfigured in the firmware. --- bin/network_device_info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3