]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: add missing separator
authorChristian Hesse <mail@eworm.de>
Thu, 23 Feb 2023 10:15:03 +0000 (11:15 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 24 Feb 2023 18:08:28 +0000 (10:08 -0800)
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>
tc/tc_class.c

index c1feb0098feb70aacec1e75e8309b9730ad66f3a..096fa2ecd9cdd225623a940255cb9215f918ddc3 100644 (file)
@@ -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]) {