summaryrefslogtreecommitdiff
path: root/isisd/isisd.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isisd.c')
-rw-r--r--isisd/isisd.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c
index d9f8a262cb..852d7b88e8 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -87,6 +87,9 @@ static struct isis_master isis_master;
/* ISIS process wide configuration pointer to export. */
struct isis_master *im;
+/* ISIS config processing thread */
+struct thread *t_isis_cfg;
+
#ifndef FABRICD
DEFINE_HOOK(isis_hook_db_overload, (const struct isis_area *area), (area));
#endif /* ifndef FABRICD */
@@ -3234,6 +3237,16 @@ void isis_area_overload_on_startup_set(struct isis_area *area,
}
}
+void config_end_lsp_generate(struct isis_area *area)
+{
+ if (listcount(area->area_addrs) > 0) {
+ if (CHECK_FLAG(area->is_type, IS_LEVEL_1))
+ lsp_generate(area, IS_LEVEL_1);
+ if (CHECK_FLAG(area->is_type, IS_LEVEL_2))
+ lsp_generate(area, IS_LEVEL_2);
+ }
+}
+
/*
* Returns the path of the file (non-volatile memory) that contains restart
* information.