diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-12-03 15:55:45 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-12-10 12:59:14 -0500 |
| commit | 7ed5844befb89ed540d343fdf67aaea98a38e03f (patch) | |
| tree | 45d40433515e464e59aa1b89c18edfe9bd5b9e83 | |
| parent | 4f4ba68cc34c9e7dd31ed95a8cd88217c44a6d84 (diff) | |
zebra: Allow `show zebra client` to give clues about route update status
When entering `show zebra client` allow the display of the client->notify_status
for route updates.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
| -rw-r--r-- | zebra/zserv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c index c7b9433257..484d94fac8 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -1033,6 +1033,9 @@ static void zebra_show_client_detail(struct vty *vty, struct zserv *client) } else vty_out(vty, "Not registered for Nexthop Updates\n"); + vty_out(vty, "Client will %sbe notified about it's routes status\n", + client->notify_owner ? "" : "Not "); + last_read_time = (time_t)atomic_load_explicit(&client->last_read_time, memory_order_relaxed); last_write_time = (time_t)atomic_load_explicit(&client->last_write_time, |
