]> git.ipfire.org Git - thirdparty/iproute2.git/commit
misc/ifstat: fix incorrect output data in json mode
authorChander Govindarajan <mail@chandergovind.org>
Tue, 25 Jul 2023 01:23:48 +0000 (18:23 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 25 Jul 2023 01:23:48 +0000 (18:23 -0700)
commit58c2530c7efecc568127f0ca3764576c22c38cc9
treed5ca6d809af160e9618d2ab28f8db5168b120851
parent912f5de4aa8d42405e48ed20c360e42199f84b8d
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