From: Donald Sharp Date: Thu, 3 Dec 2020 20:55:45 +0000 (-0500) Subject: zebra: Allow `show zebra client` to give clues about route update status X-Git-Tag: base_7.6~128^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=7ed5844befb89ed540d343fdf67aaea98a38e03f;p=mirror%2Ffrr.git 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 --- 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,