mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 01:47:58 +02:00
cli: fix VLAN priority map listing
This commit is contained in:
parent
e7380561d5
commit
c113bf222a
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ vlan_priorities_to_string (NMSettingVlan *s_vlan, NMVlanPriorityMap map)
|
|||
for (i = 0; i < nm_setting_vlan_get_num_priorities (s_vlan, map); i++) {
|
||||
guint32 from, to;
|
||||
|
||||
nm_setting_vlan_get_priority (s_vlan, i, map, &from, &to);
|
||||
nm_setting_vlan_get_priority (s_vlan, map, i, &from, &to);
|
||||
g_string_append_printf (priorities, "%d:%d,", from, to);
|
||||
}
|
||||
g_string_truncate (priorities, priorities->len-1); /* chop off trailing ',' */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue