cli/general: avoid chopping off the last letter of master device name

...when "nmcli" is called without argument and the master device is the last
entry printed.
This commit is contained in:
Lubomir Rintel 2017-03-16 13:16:57 +00:00
parent e947739dd6
commit 81cd300108

View file

@ -1167,7 +1167,7 @@ ac_overview (NmCli *nmc, NMActiveConnection *ac)
NMIPConfig *ip;
if (nm_active_connection_get_master (ac)) {
g_string_append_printf (outbuf, "%s %s,", _("master"),
g_string_append_printf (outbuf, "%s %s, ", _("master"),
nm_device_get_iface (nm_active_connection_get_master (ac)));
}
if (nm_active_connection_get_vpn (ac))