Skip to content

Commit

Permalink
Merge pull request FRRouting#17134 from Shbinging/fix_no_area_nssa_co…
Browse files Browse the repository at this point in the history
…mmand

ospfd: update ospf_asbr_status when using no_area_nssa command
  • Loading branch information
ton31337 authored Oct 18, 2024
2 parents ba60b39 + 71aa5ab commit 3f69054
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ospfd/ospfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1730,6 +1730,8 @@ int ospf_area_nssa_unset(struct ospf *ospf, struct in_addr area_id)
area->no_summary = 0;
area->suppress_fa = 0;
area->NSSATranslatorRole = OSPF_NSSA_ROLE_CANDIDATE;
if (area->NSSATranslatorState == OSPF_NSSA_TRANSLATE_ENABLED)
ospf_asbr_status_update(ospf, --ospf->redistribute);
area->NSSATranslatorState = OSPF_NSSA_TRANSLATE_DISABLED;
area->NSSATranslatorStabilityInterval = OSPF_NSSA_TRANS_STABLE_DEFAULT;
ospf_area_type_set(area, OSPF_AREA_DEFAULT);
Expand Down

0 comments on commit 3f69054

Please sign in to comment.