summaryrefslogtreecommitdiff
path: root/pathd/path_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'pathd/path_main.c')
-rw-r--r--pathd/path_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pathd/path_main.c b/pathd/path_main.c
index f54ab736c4..8d88475206 100644
--- a/pathd/path_main.c
+++ b/pathd/path_main.c
@@ -33,6 +33,7 @@
#include "path_nb.h"
#include "path_zebra.h"
#include "path_errors.h"
+#include "path_ted.h"
char backup_config_file[256];
@@ -70,6 +71,8 @@ static void sighup(void)
static void sigint(void)
{
zlog_notice("Terminating on signal");
+ zlog_notice("Unregisterfrom opaque,etc ");
+ pathd_shutdown();
exit(0);
}
@@ -146,6 +149,7 @@ int main(int argc, char **argv, char **envp)
path_error_init();
path_zebra_init(master);
path_cli_init();
+ path_ted_init(master);
frr_config_fork();
frr_run(master);