From ffdc63f9b493ebfa2d6dfa8a753ad89a957daec2 Mon Sep 17 00:00:00 2001 From: Mobashshera Rasool Date: Mon, 19 Apr 2021 05:28:24 +0000 Subject: [PATCH] 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 --- ospf6d/ospf6_top.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.39.5