diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-11-02 13:54:58 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-11-12 15:16:23 +0100 |
commit | 26f63a1ec6dcb69c18a78558af4c62bc20e7784f (patch) | |
tree | b9ddc3d4820673ef5a0d6383c62fd473070db3fe /pimd | |
parent | Merge pull request #3301 from opensourcerouting/bugfix/remove-unused-isis-debugs (diff) | |
download | frr-26f63a1ec6dcb69c18a78558af4c62bc20e7784f.tar.xz frr-26f63a1ec6dcb69c18a78558af4c62bc20e7784f.zip |
*: 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 'pimd')
-rw-r--r-- | pimd/pim_zebra.c | 2 | ||||
-rw-r--r-- | pimd/pim_zlookup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c index 23001031e..3dfc36a0c 100644 --- a/pimd/pim_zebra.c +++ b/pimd/pim_zebra.c @@ -746,7 +746,7 @@ static void pim_zebra_connected(struct zclient *zclient) void pim_zebra_init(void) { /* Socket for receiving updates from Zebra daemon */ - zclient = zclient_new_notify(master, &zclient_options_default); + zclient = zclient_new(master, &zclient_options_default); zclient->zebra_connected = pim_zebra_connected; zclient->router_id_update = pim_router_id_update_zebra; diff --git a/pimd/pim_zlookup.c b/pimd/pim_zlookup.c index 0e7486611..6b4531308 100644 --- a/pimd/pim_zlookup.c +++ b/pimd/pim_zlookup.c @@ -120,7 +120,7 @@ void zclient_lookup_free(void) void zclient_lookup_new(void) { - zlookup = zclient_new_notify(master, &zclient_options_default); + zlookup = zclient_new(master, &zclient_options_default); if (!zlookup) { flog_err(EC_LIB_ZAPI_SOCKET, "%s: zclient_new() failure", __PRETTY_FUNCTION__); |