]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iplink: Publish a function to format MPLS stats
authorPetr Machata <petrm@nvidia.com>
Mon, 9 May 2022 13:59:55 +0000 (15:59 +0200)
committerDavid Ahern <dsahern@kernel.org>
Thu, 12 May 2022 17:08:06 +0000 (11:08 -0600)
commitdff392fd86ee6085737560c88875b35628888e91
tree5e7bfefc257e80a152f1efeec0ee5c7fc225fc48
parent72623b73c4eaceb0267f110e55c7bc1c342267b1
iplink: Publish a function to format MPLS stats

Extract from print_mpls_stats() a new function, print_mpls_link_stats(),
make it non-static and publish in the header file.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/ip_common.h
ip/iplink.c