device: trivial: fix a copy/paste error in comment

This commit is contained in:
Jiří Klimeš
2015-05-27 11:20:31 +02:00
parent d1d048c93d
commit dce050a45d

View File

@@ -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;
}