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

Enable proper JSON output for the choke Qdisc.
Also, use the long double format specifier to print the value of
"probability".

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