mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-14 23:50:29 +01:00
device: trivial: fix a copy/paste error in comment
(cherry picked from commit dce050a45d)
This commit is contained in:
parent
0d0fa7ead6
commit
61b4bec803
1 changed files with 1 additions and 1 deletions
|
|
@ -579,7 +579,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