]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: sfb: add support for JSON output
authorLeslie Monis <lesliemonis@gmail.com>
Wed, 25 Dec 2019 19:04:15 +0000 (00:34 +0530)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 29 Dec 2019 17:57:27 +0000 (09:57 -0800)
commit46d032d002223cf5fbdb9df5602ef4dc6d0c4914
treefec4e08bbab1a96cd1799c5b6e03ada7892f0be7
parent0154d096c5f8de695dcbed0ae9e484a2d928b2b3
tc: sfb: add support for JSON output

Enable proper JSON output for the SFB Qdisc.
Make the output for options "rehash" and "db" explicit.
Use the long double format specifier to print probability values.
Use sprint_time() to print time values.
Also, fix the indentation in sfb_print_opt().

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