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>
This commit is contained in:
Donald Sharp 2020-12-03 15:55:45 -05:00
parent 4f4ba68cc3
commit 7ed5844bef

View File

@ -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,