tc: prio: fix space in JSON tag
The priomap should not have extra space in the tag. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
e819d3a03d
commit
1d6b73be70
|
|
@ -108,7 +108,7 @@ int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
|
|||
return -1;
|
||||
|
||||
print_uint(PRINT_ANY, "bands", "bands %u ", qopt->bands);
|
||||
open_json_array(PRINT_ANY, "priomap ");
|
||||
open_json_array(PRINT_ANY, "priomap");
|
||||
for (i = 0; i <= TC_PRIO_MAX; i++)
|
||||
print_uint(PRINT_ANY, NULL, " %d", qopt->priomap[i]);
|
||||
close_json_array(PRINT_ANY, "");
|
||||
|
|
|
|||
Loading…
Reference in New Issue