]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
q_cake: Add printing of no-split-gso option
authorToke Høiland-Jørgensen <toke@toke.dk>
Tue, 11 Sep 2018 22:32:16 +0000 (00:32 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 12 Sep 2018 19:59:38 +0000 (12:59 -0700)
When the GSO splitting was turned into dual split-gso/no-split-gso options,
the printing of the latter was left out. Add that, so output is consistent
with the options passed.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/q_cake.c

index 50de46a702645c77c4f4be071c444ec999b3991f..077bf84f62a2129e6ca76da8cdb945ba388f03d5 100644 (file)
@@ -524,6 +524,8 @@ static int cake_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
 
        if (split_gso)
                print_string(PRINT_FP, NULL, "split-gso ", NULL);
+       else
+               print_string(PRINT_FP, NULL, "no-split-gso ", NULL);
        print_bool(PRINT_JSON, "split_gso", NULL, split_gso);
 
        if (interval)