diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-11-09 20:34:42 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-11-27 15:09:35 +0100 |
commit | e1a1880de3e9da60f72198924fe3407f7bbc975d (patch) | |
tree | cbf777f55ae78c3833290b4213dbd68b53ef6263 /ripd/rip_zebra.c | |
parent | lib, zebra: Add ability to notify to Routing Protocols Success/Failure (diff) | |
download | frr-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 'ripd/rip_zebra.c')
-rw-r--r-- | ripd/rip_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c index e479e2474..041635e15 100644 --- a/ripd/rip_zebra.c +++ b/ripd/rip_zebra.c @@ -590,7 +590,7 @@ static void rip_zebra_connected(struct zclient *zclient) void rip_zclient_init(struct thread_master *master) { /* Set default value to the zebra client structure. */ - zclient = zclient_new(master); + zclient = zclient_new_notify(master, &zclient_options_default); zclient_init(zclient, ZEBRA_ROUTE_RIP, 0, &ripd_privs); zclient->zebra_connected = rip_zebra_connected; zclient->interface_add = rip_interface_add; |