summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2023-02-23 11:15:03 +0100
committerStephen Hemminger <stephen@networkplumber.org>2023-02-24 10:08:28 -0800
commit4e0e56e0ef05387f7f5d8ab41fe6ec6a1897b26d (patch)
tree614c658c1dcc7de8c8604f0cf8f3ff3c3e85ec3c
parent57c4038a0f6a0a9b6178dfbda036b5c7b65c2583 (diff)
downloadiproute2-4e0e56e0ef05387f7f5d8ab41fe6ec6a1897b26d.tar.gz
tc: add missing separator
This is missing a separator, that was accidently removed when JSON was added. Fixes: 010a8388aea1 ("tc: Add JSON output to tc-class") Signed-off-by: Christian Hesse <mail@eworm.de> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--tc/tc_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tc/tc_class.c b/tc/tc_class.c
index c1feb009..096fa2ec 100644
--- a/tc/tc_class.c
+++ b/tc/tc_class.c
@@ -356,7 +356,7 @@ int print_class(struct nlmsghdr *n, void *arg)
print_string(PRINT_ANY, "parent", "parent %s ", abuf);
}
if (t->tcm_info)
- print_0xhex(PRINT_ANY, "leaf", "leaf %x", t->tcm_info>>16);
+ print_0xhex(PRINT_ANY, "leaf", "leaf %x: ", t->tcm_info>>16);
q = get_qdisc_kind(RTA_DATA(tb[TCA_KIND]));
if (tb[TCA_OPTIONS]) {