summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2015-05-27 11:20:31 +0200
committerJiří Klimeš <jklimes@redhat.com>2015-07-08 16:50:18 +0200
commitdce050a45d66948a6243ee08ebaf6dee4494f1c6 (patch)
tree2dc8d589f7599881fe63da37d10b688580ab2cc8
parentd1d048c93da6190ac97acb710f786479efd67e88 (diff)
downloadNetworkManager-dce050a45d66948a6243ee08ebaf6dee4494f1c6.tar.gz
device: trivial: fix a copy/paste error in comment
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
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;
}