]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Allow `show zebra client` to give clues about route update status 7664/head
authorDonald Sharp <sharpd@nvidia.com>
Thu, 3 Dec 2020 20:55:45 +0000 (15:55 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 10 Dec 2020 17:59:14 +0000 (12:59 -0500)
When entering `show zebra client` allow the display of the client->notify_status
for route updates.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zserv.c

index c7b9433257da986654638cbe0435690b0c9b06c6..484d94fac881a7c0a2d8178f6f7e1d4345c7f1d4 100644 (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,