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 /isisd | |
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 'isisd')
-rw-r--r-- | isisd/isis_zebra.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/isisd/isis_zebra.c b/isisd/isis_zebra.c index 8252c1ac2..18a0c49ce 100644 --- a/isisd/isis_zebra.c +++ b/isisd/isis_zebra.c @@ -1395,9 +1395,7 @@ void isis_zebra_init(struct event_loop *master, int instance) zclient->zebra_connected = isis_zebra_connected; /* 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_ISIS; zclient_sync->instance = instance; |