]> git.proxmox.com Git - mirror_iproute2.git/commit
iproute: refactor cacheinfo printing
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 7 Feb 2018 17:10:12 +0000 (09:10 -0800)
committerDavid Ahern <dsahern@gmail.com>
Thu, 8 Feb 2018 00:08:16 +0000 (16:08 -0800)
commit6e41810e1bb9a85461b02d61dc6c5674caa8713d
treedc224d22bb290e4f4dbc3c2f2ace7ba1233b63f8
parentdaf30f6fde11c4c162277305d793c1750f66f6c1
iproute: refactor cacheinfo printing

Make common function for decoding cacheinfo.
This code may print more info than old version in some cases.

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