Merge pull request #13073 from donaldsharp/static_use_after_free

staticd: Tell bfd that we are shutting down
This commit is contained in:
Rafael Zalamena 2023-03-21 16:37:06 -03:00 committed by GitHub
commit ed851381b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,6 +64,9 @@ static void sigint(void)
{
zlog_notice("Terminating on signal");
/* Disable BFD events to avoid wasting processing. */
bfd_protocol_integration_set_shutdown(true);
static_vrf_terminate();
static_zebra_stop();