diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 4c3b67364a..9ce20fe73c 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -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; }