Skip to content

Commit a6aa6b5

Browse files
authored
Merge pull request FRRouting#17183 from Shbinging/fix_no_area_range_command_2
ospfd:fix the bug that the empty area was not free after no area range command was executed
2 parents a4ecc2f + baf6047 commit a6aa6b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ospfd/ospf_vty.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ DEFUN (no_ospf_area_range,
748748

749749
ospf_area_range_unset(ospf, area, area->ranges, &p);
750750

751+
ospf_area_check_free(ospf, area_id);
752+
751753
return CMD_SUCCESS;
752754
}
753755

0 commit comments

Comments
 (0)