device: trivial: fix a copy/paste error in comment
This commit is contained in:
@@ -585,7 +585,7 @@ nm_device_get_ip_ifindex (NMDevice *self)
|
|||||||
g_return_val_if_fail (self != NULL, 0);
|
g_return_val_if_fail (self != NULL, 0);
|
||||||
|
|
||||||
priv = NM_DEVICE_GET_PRIVATE (self);
|
priv = NM_DEVICE_GET_PRIVATE (self);
|
||||||
/* If it's not set, default to iface */
|
/* If it's not set, default to ifindex */
|
||||||
return priv->ip_iface ? priv->ip_ifindex : priv->ifindex;
|
return priv->ip_iface ? priv->ip_ifindex : priv->ifindex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user