]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: fq_codel: fix missing statistic in JSON output
authorLeslie Monis <lesliemonis@gmail.com>
Wed, 25 Dec 2019 19:04:18 +0000 (00:34 +0530)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 29 Dec 2019 17:57:27 +0000 (09:57 -0800)
commite819d3a03dd19ed3dd0f50bd128f62f972e8240f
tree026d74977e2bf8edc477e003800e1ac790d3308d
parent669314e817113ad25f03deb0efdb9ef54a658c03
tc: fq_codel: fix missing statistic in JSON output

Print JSON object even if tc_fq_codel_xstats->class_stats.drop_next
is negative.

Cc: Toke Høiland-Jørgensen <toke@toke.dk>
Fixes: 997f2dc19378 ("tc: Add JSON output of fq_codel stats")
Signed-off-by: Leslie Monis <lesliemonis@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/q_fq_codel.c