]> git.ipfire.org Git - thirdparty/iproute2.git/commit
misc/ifstat: fix incorrect output data in json mode
authorChander Govindarajan <mail@chandergovind.org>
Mon, 17 Jul 2023 09:32:46 +0000 (15:02 +0530)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Jul 2023 15:07:05 +0000 (08:07 -0700)
commit0b954463083b5c04f8e577b3764dbec35fcb8a7d
tree1b6d3d49cbabb060bc213083242d85c65df371f5
parent61695c493ec14a63740bbb81e0564f753bd054dd
misc/ifstat: fix incorrect output data in json mode

Due to this bug, in json mode (with the -j flag), the output was
always in absolute mode (as if passing in the -a flag) and not in
relative mode.

Signed-off-by: Chander Govindarajan <mail@chandergovind.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
misc/ifstat.c