core: log kernel interface indexes
This commit is contained in:
@@ -311,6 +311,9 @@ constructor (GType type,
|
||||
self = NM_DEVICE (object);
|
||||
priv = NM_DEVICE_ETHERNET_GET_PRIVATE (self);
|
||||
|
||||
nm_log_dbg (LOGD_HW | LOGD_ETHER, "(%s): kernel interface #%d",
|
||||
nm_device_get_iface (NM_DEVICE (self)), priv->ifindex);
|
||||
|
||||
caps = nm_device_get_capabilities (self);
|
||||
if (caps & NM_DEVICE_CAP_CARRIER_DETECT) {
|
||||
GError *error = NULL;
|
||||
|
Reference in New Issue
Block a user