]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: sfq: add support for JSON output
authorLeslie Monis <lesliemonis@gmail.com>
Wed, 25 Dec 2019 19:04:16 +0000 (00:34 +0530)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 29 Dec 2019 17:57:27 +0000 (09:57 -0800)
commit85fdef052b148b69507a7cf87c22825f556578fe
tree98cdfa33a0c79ca546994a0da98a1afd27e20423
parent46d032d002223cf5fbdb9df5602ef4dc6d0c4914
tc: sfq: add support for JSON output

Enable proper JSON output for the SFQ Qdisc.
Use the long double format specifier to print the value of
"probability".
Also, fix the indentation in the online output of the contents in the
tc_sfqred_stats structure.

Signed-off-by: Leslie Monis <lesliemonis@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/q_sfq.c