ingress: Don't break JSON output
The dash printed by the ingress qdisc breaks JSON output, so only print it in regular output mode. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
f5393225f9
commit
bf717756b5
|
|
@ -40,7 +40,7 @@ static int ingress_parse_opt(struct qdisc_util *qu, int argc, char **argv,
|
|||
static int ingress_print_opt(struct qdisc_util *qu, FILE *f,
|
||||
struct rtattr *opt)
|
||||
{
|
||||
fprintf(f, "---------------- ");
|
||||
print_string(PRINT_FP, NULL, "---------------- ", NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue