cli: fix completion of interfaces in editor for "activate" command

This commit is contained in:
Jiří Klimeš 2014-05-15 13:41:31 +02:00
parent e8f5a82e22
commit 2b37ee2b7a

View file

@ -5430,7 +5430,7 @@ gen_compat_devices (char *text, int state)
compatible_devices = g_new (const char *, devices->len + 1);
for (i = 0; i < devices->len; i++) {
NMDevice *dev = g_ptr_array_index (devices, i);
const char *ifname = nm_device_get_ip_iface (dev);
const char *ifname = nm_device_get_iface (dev);
NMDevice *device = NULL;
const char *spec_object = NULL;