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

(cherry picked from commit dce050a45d)
This commit is contained in:
Jiří Klimeš 2015-05-27 11:20:31 +02:00
parent 0d0fa7ead6
commit 61b4bec803

View file

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