summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2021-04-19 05:28:24 +0000
committerMobashshera Rasool <mrasool@vmware.com>2021-04-19 05:28:24 +0000
commitffdc63f9b493ebfa2d6dfa8a753ad89a957daec2 (patch)
tree7d1acf4d2906bc7683468f55099434fb18c8c43e
parent8d31c67c79efd3b43e7a8e378da66d3a8b98602a (diff)
ospf6d: Do not delete external table when configure max-path
Issue: When maximum-path is configured in ospf6 view, the function ospf6_restart_spf deletes the external table as well which is not required since that stores the redistribute routes. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
-rw-r--r--ospf6d/ospf6_top.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c
index 52e40dc1ad..d05c164225 100644
--- a/ospf6d/ospf6_top.c
+++ b/ospf6d/ospf6_top.c
@@ -890,7 +890,6 @@ static void ospf6_restart_spf(struct ospf6 *ospf6)
{
ospf6_route_remove_all(ospf6->route_table);
ospf6_route_remove_all(ospf6->brouter_table);
- ospf6_route_remove_all(ospf6->external_table);
/* Trigger SPF */
ospf6_spf_schedule(ospf6, OSPF6_SPF_FLAGS_CONFIG_CHANGE);