]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iproute: refactor metrics print
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 7 Feb 2018 17:10:13 +0000 (09:10 -0800)
committerDavid Ahern <dsahern@gmail.com>
Thu, 8 Feb 2018 00:08:22 +0000 (16:08 -0800)
commit968272e791710ca4f0724010c364f0ce0651b180
treef125d46ce0f5b70983d9252a69baf9b72158ec62
parent6e41810e1bb9a85461b02d61dc6c5674caa8713d
iproute: refactor metrics print

Make a separate function to improve readability and enable
easier JSON conversion.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/iproute.c