summaryrefslogtreecommitdiffstats
path: root/isisd/isisd.c
diff options
context:
space:
mode:
authorEmanuele Di Pascale <emanuele@voltanet.io>2019-05-28 16:46:06 +0200
committerEmanuele Di Pascale <emanuele@voltanet.io>2019-05-29 11:53:45 +0200
commit688ea1cbe26601f3953fa97f53f8b89d5e38a7b1 (patch)
tree0b9dc7ecd11942fa2dd3a77d3e1a47534479d21f /isisd/isisd.c
parentMerge pull request #4396 from donaldsharp/rpki_stuff (diff)
downloadfrr-688ea1cbe26601f3953fa97f53f8b89d5e38a7b1.tar.xz
frr-688ea1cbe26601f3953fa97f53f8b89d5e38a7b1.zip
isisd: del routes when area is unconfigured
attempt to fix #4399 Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'isisd/isisd.c')
-rw-r--r--isisd/isisd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isisd.c b/isisd/isisd.c
index 07be68d9a..0b7d44ea1 100644
--- a/isisd/isisd.c
+++ b/isisd/isisd.c
@@ -272,7 +272,7 @@ int isis_area_destroy(const char *area_tag)
lsp_db_fini(&area->lspdb[1]);
/* invalidate and verify to delete all routes from zebra */
- isis_area_invalidate_routes(area, ISIS_LEVEL1 & ISIS_LEVEL2);
+ isis_area_invalidate_routes(area, area->is_type);
isis_area_verify_routes(area);
spftree_area_del(area);