From: Stephen Hemminger Date: Sun, 29 Dec 2019 18:58:13 +0000 (-0800) Subject: tc: prio: fix space in JSON tag X-Git-Tag: v5.5.0~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d6b73be708d8e8e8d5438ee2c169d3992b07190;p=thirdparty%2Fiproute2.git tc: prio: fix space in JSON tag The priomap should not have extra space in the tag. Signed-off-by: Stephen Hemminger --- diff --git a/tc/q_prio.c b/tc/q_prio.c index 8ef7cfa26..a723a151b 100644 --- a/tc/q_prio.c +++ b/tc/q_prio.c @@ -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, "");