]> git.proxmox.com Git - mirror_iproute2.git/commit
ipmroute: add support for age dumping
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Wed, 21 Sep 2016 09:45:58 +0000 (11:45 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 10 Oct 2016 02:09:31 +0000 (19:09 -0700)
commit590bf22a3437e6d9e27accdd9aebe587c0672604
treea3e3fa8b68958f2a69ceebad21ce41d0e7fc2e7b
parentb96306f8d9b72098b2b119085a4e3b171eefcef7
ipmroute: add support for age dumping

Add support to dump the mroute cache entry age if the show_stats (-s)
switch is provided.
Example:
$ ip -s mroute
(0.0.0.0, 239.10.10.10)          Iif: eth0       Oifs: eth0
  0 packets, 0 bytes, Age  245.44

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
ip/ipmroute.c