Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zlog_notice("Terminating on signal");
bfd_protocol_integration_set_shutdown(true);
ospf_terminate();
+
exit(0);
}
/* ospfd being shut-down? If so, was this the last ospf instance? */
if (CHECK_FLAG(om->options, OSPF_MASTER_SHUTDOWN)
&& (listcount(om->ospf) == 0)) {
+ route_map_finish();
frr_fini();
exit(0);
}
/* Cleanup vrf info */
ospf_vrf_terminate();
+ route_map_finish();
/* Deliberately go back up, hopefully to thread scheduler, as
* One or more ospf_finish()'s may have deferred shutdown to a timer
* thread