summaryrefslogtreecommitdiff
path: root/sharpd/sharp_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-11-02 08:54:58 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-11-12 09:16:23 -0500
commit26f63a1ec6dcb69c18a78558af4c62bc20e7784f (patch)
treeb9ddc3d4820673ef5a0d6383c62fd473070db3fe /sharpd/sharp_zebra.c
parent47a2d5eb43bd590b49af80b51e1174a9c367aed2 (diff)
*: Replace zclient_new with zclient_new_notify
It's been a year since we added the new optional parameters to instantiation. Let's switch over to the new name. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'sharpd/sharp_zebra.c')
-rw-r--r--sharpd/sharp_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c
index 286f320874..12bab73c5e 100644
--- a/sharpd/sharp_zebra.c
+++ b/sharpd/sharp_zebra.c
@@ -281,7 +281,7 @@ void sharp_zebra_init(void)
{
struct zclient_options opt = {.receive_notify = true};
- zclient = zclient_new_notify(master, &opt);
+ zclient = zclient_new(master, &opt);
zclient_init(zclient, ZEBRA_ROUTE_SHARP, 0, &sharp_privs);
zclient->zebra_connected = zebra_connected;