diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2023-11-25 15:15:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-25 15:15:07 +0100 |
commit | 0dc7704fd50a035c85dea58408abea80c4816f15 (patch) | |
tree | 213419de02df4c18b899c5daebc249a5f243fd3a /pimd | |
parent | Merge pull request #14866 from opensourcerouting/freebsd-14-build-doc (diff) | |
parent | lib, bgp/vnc: add `.auxiliary` zclient option (diff) | |
download | frr-0dc7704fd50a035c85dea58408abea80c4816f15.tar.xz frr-0dc7704fd50a035c85dea58408abea80c4816f15.zip |
Merge pull request #14867 from opensourcerouting/zclient-options-cleanup
*: clean up `zclient` options
Diffstat (limited to 'pimd')
-rw-r--r-- | pimd/pim_zlookup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pimd/pim_zlookup.c b/pimd/pim_zlookup.c index 6a026f994..c19119fa4 100644 --- a/pimd/pim_zlookup.c +++ b/pimd/pim_zlookup.c @@ -122,10 +122,7 @@ void zclient_lookup_free(void) void zclient_lookup_new(void) { - struct zclient_options options = zclient_options_default; - options.synchronous = true; - - zlookup = zclient_new(router->master, &options, NULL, 0); + zlookup = zclient_new(router->master, &zclient_options_sync, NULL, 0); if (!zlookup) { flog_err(EC_LIB_ZAPI_SOCKET, "%s: zclient_new() failure", __func__); |