mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-04 07:05:15 +00:00
tc: skbprio: add support for JSON output
Print limit in JSON Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
1d6b73be70
commit
f8bebea915
@ -73,7 +73,8 @@ static int skbprio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
|
||||
if (RTA_PAYLOAD(opt) < sizeof(*qopt))
|
||||
return -1;
|
||||
qopt = RTA_DATA(opt);
|
||||
fprintf(f, "limit %u ", qopt->limit);
|
||||
|
||||
print_uint(PRINT_ANY, "limit", "limit %u ", qopt->limit);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user