]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: add uptime to NHEs
authorStephen Worley <sworley@nvidia.com>
Thu, 22 Apr 2021 21:19:03 +0000 (17:19 -0400)
committerStephen Worley <sworley@nvidia.com>
Thu, 22 Apr 2021 21:25:15 +0000 (17:25 -0400)
commit45691de9a0a806dc67d4304044667f05a8caef09
treea85d07a42c070b51236f5bc83090f5fa492265f2
parent65f137fe3c3b5d3defe21735ddd6990bcb20ab4f
zebra: add uptime to NHEs

Add uptime for use with NHEs to keep track of how
long we have had this NHE in our rib without an update.

This is treated exactly the same as the re->uptime for
routes. When we get an update for a route, we reset the
uptime.

Signed-off-by: Stephen Worley <sworley@nvidia.com>
zebra/zebra_nhg.c
zebra/zebra_nhg.h
zebra/zebra_vty.c