mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-15 16:10:33 +01:00
device: trivial: fix a copy/paste error in comment
This commit is contained in:
parent
d1d048c93d
commit
dce050a45d
1 changed files with 1 additions and 1 deletions
|
|
@ -585,7 +585,7 @@ nm_device_get_ip_ifindex (NMDevice *self)
|
|||
g_return_val_if_fail (self != NULL, 0);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue