Merge pull request #1242 from donaldsharp/eigrp_tm

Eigrp tm
This commit is contained in:
Renato Westphal 2017-09-27 09:20:51 -03:00 committed by GitHub
commit f5129394ec
3 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,8 @@ static void sigint(void)
{
zlog_notice("Terminating on signal");
eigrp_terminate();
exit(0);
}
/* SIGUSR1 handler. */

View File

@ -886,6 +886,7 @@ void frr_fini(void)
zprivs_terminate(di->privs);
/* signal_init -> nothing needed */
thread_master_free(master);
master = NULL;
closezlog();
/* frrmod_init -> nothing needed / hooks */

View File

@ -571,6 +571,7 @@ void thread_master_free(struct thread_master *m)
close(m->io_pipe[0]);
close(m->io_pipe[1]);
list_delete(m->cancel_req);
m->cancel_req = NULL;
hash_clean(m->cpu_record, cpu_record_hash_free);
hash_free(m->cpu_record);