summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-11-09 20:34:42 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-11-27 15:09:35 +0100
commite1a1880de3e9da60f72198924fe3407f7bbc975d (patch)
treecbf777f55ae78c3833290b4213dbd68b53ef6263 /zebra/zserv.h
parentlib, zebra: Add ability to notify to Routing Protocols Success/Failure (diff)
downloadfrr-e1a1880de3e9da60f72198924fe3407f7bbc975d.tar.xz
frr-e1a1880de3e9da60f72198924fe3407f7bbc975d.zip
*: Make zapi route install Notifications optional
Allow the higher level protocol to specify if it would like to receive notifications about it's routes that it has installed. I've purposely made it part of zclient_new_notify because we need to track the routes on a per daemon basis only. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index 9978c6d89..a62f1c89f 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -75,6 +75,8 @@ struct zserv {
/* Router-id information. */
vrf_bitmap_t ridinfo;
+ bool notify_owner;
+
/* client's protocol */
u_char proto;
u_short instance;