diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2025-03-19 09:55:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-19 09:55:40 -0500 |
| commit | 0f79b288b2eb251b7b8664d6351c1fd9a8ba1993 (patch) | |
| tree | dc194097388241c61c9cc0cfa2a97a67161fb2ed /ospf6d/ospf6_interface.c | |
| parent | 187a4b01f88010c553a7f2ac0d9d3bb2909708b8 (diff) | |
| parent | 7f87f7e5fc922744f5e832afd5c5d25f8d5f1896 (diff) | |
Merge pull request #18424 from FRRouting/mergify/bp/stable/10.1/pr-18393
ospf6d: Disable and delete OSPFv3 areas that no longer have interfaces or configuration. (backport #18393)
Diffstat (limited to 'ospf6d/ospf6_interface.c')
| -rw-r--r-- | ospf6d/ospf6_interface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 7f813ce3cc..b578ed1e4c 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -1822,6 +1822,9 @@ void ospf6_interface_stop(struct ospf6_interface *oi) if (oa->if_list->count == 0) { UNSET_FLAG(oa->flag, OSPF6_AREA_ENABLE); ospf6_abr_disable_area(oa); + + /* Delete area if no interfaces or configuration. */ + ospf6_area_no_config_delete(oa); } } |
