summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-11-25 15:15:07 +0100
committerGitHub <noreply@github.com>2023-11-25 15:15:07 +0100
commit0dc7704fd50a035c85dea58408abea80c4816f15 (patch)
tree213419de02df4c18b899c5daebc249a5f243fd3a /ospfd
parentMerge pull request #14866 from opensourcerouting/freebsd-14-build-doc (diff)
parentlib, bgp/vnc: add `.auxiliary` zclient option (diff)
downloadfrr-0dc7704fd50a035c85dea58408abea80c4816f15.tar.xz
frr-0dc7704fd50a035c85dea58408abea80c4816f15.zip
Merge pull request #14867 from opensourcerouting/zclient-options-cleanup
*: clean up `zclient` options
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_zebra.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index 19d3c9a08..bb6cc3a89 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -2189,9 +2189,7 @@ void ospf_zebra_init(struct event_loop *master, unsigned short instance)
zclient->nexthop_update = ospf_zebra_import_check_update;
/* Initialize special zclient for synchronous message exchanges. */
- struct zclient_options options = zclient_options_default;
- options.synchronous = true;
- zclient_sync = zclient_new(master, &options, NULL, 0);
+ zclient_sync = zclient_new(master, &zclient_options_sync, NULL, 0);
zclient_sync->sock = -1;
zclient_sync->redist_default = ZEBRA_ROUTE_OSPF;
zclient_sync->instance = instance;