diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-10-07 12:08:42 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-10-07 12:08:42 -0400 |
| commit | 76ab1a97021a7a6f00de9e87643d589c844a3421 (patch) | |
| tree | 6e5dbf3401a4d1342c2701e58203cccdcb73f7b9 /zebra/zserv.c | |
| parent | cc3d8343087d47393c5485280e0daa204b0eb99a (diff) | |
zebra: Display how long zebra is expected to wait for GR
When a client sends to zebra that GR mode is being turned
on. The client also passes down the time zebra should hold
onto the routes. Display this time with the output
of the `show zebra client` command as well.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zserv.c')
| -rw-r--r-- | zebra/zserv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c index 0c4515a695..abb9c5ca5d 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -1134,7 +1134,8 @@ static void zebra_show_stale_client_detail(struct vty *vty, vty_out(vty, "Capabilities : "); switch (info->capabilities) { case ZEBRA_CLIENT_GR_CAPABILITIES: - vty_out(vty, "Graceful Restart\n"); + vty_out(vty, "Graceful Restart(%u seconds)\n", + info->stale_removal_time); break; case ZEBRA_CLIENT_ROUTE_UPDATE_COMPLETE: case ZEBRA_CLIENT_ROUTE_UPDATE_PENDING: |
