From bac66c5c6410a2db1ce0e4e4394f97242eeecc27 Mon Sep 17 00:00:00 2001 From: lynne Date: Tue, 2 Mar 2021 16:40:56 -0500 Subject: ospf6d: Don't advertise AS-External LSAs into stub area If area is a normal area and has adjacencies up and then the user changes the area to a stub area, the code was leaving existing AS-External LSAs in the database and was sending AS-External LSAs into the stub area causing the adjacency to stay in Ex-Start. With this change we now cleanup the AS-External LSAs that existed when area was not a stub and do not advertise AS-External LSAs into the stub area. Signed-off-by: Lynne Morrison --- ospf6d/ospf6_asbr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ospf6d/ospf6_asbr.h') diff --git a/ospf6d/ospf6_asbr.h b/ospf6d/ospf6_asbr.h index fd1461004..e4a4455a5 100644 --- a/ospf6d/ospf6_asbr.h +++ b/ospf6d/ospf6_asbr.h @@ -95,6 +95,7 @@ extern void ospf6_asbr_init(void); extern void ospf6_asbr_redistribute_reset(struct ospf6 *ospf6); extern void ospf6_asbr_terminate(void); extern void ospf6_asbr_send_externals_to_area(struct ospf6_area *); +extern void ospf6_asbr_remove_externals_from_area(struct ospf6_area *oa); extern int config_write_ospf6_debug_asbr(struct vty *vty); extern void install_element_ospf6_debug_asbr(void); -- cgit v1.2.3