diff options
Diffstat (limited to 'ospfd')
| -rw-r--r-- | ospfd/ospf_zebra.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 19d3c9a083..bb6cc3a89c 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;  | 
