cli: fix output of iface in overview output

Fixes: f14845cc20

https://bugzilla.redhat.com/show_bug.cgi?id=1460219
(cherry picked from commit 126b0874f1)
This commit is contained in:
Thomas Haller 2017-06-09 15:18:20 +02:00
parent 6a4774b1a8
commit be4e1000e8

View file

@ -1139,7 +1139,7 @@ device_overview (NmCli *nmc, NMDevice *device)
if ( nm_device_get_ip_iface (device)
&& g_strcmp0 (nm_device_get_ip_iface (device), nm_device_get_iface (device))
&& g_strcmp0 (nm_device_get_ip_iface (device), ""))
g_string_append_printf (outbuf, "%s %s,", _("iface"), nm_device_get_ip_iface (device));
g_string_append_printf (outbuf, "%s %s, ", _("iface"), nm_device_get_ip_iface (device));
if (nm_device_get_physical_port_id (device))
g_string_append_printf (outbuf, "%s %s, ", _("port"), nm_device_get_physical_port_id (device));