mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 08:23:56 +00:00
ospfd:fix the bug that the empty area was not free after no area range command was executed
When we use the no area X.X.X.X range A.B.C.D/M command, if the area no longer has an interface to which it belongs, then the area should be deleted from the LSDB. This processing logic is consistent with instructions such as no network area and no area authentication. Signed-off-by: Shbinging <bingshui@smail.nju.edu.cn>
This commit is contained in:
parent
2f84a26634
commit
baf604770e
@ -748,6 +748,8 @@ DEFUN (no_ospf_area_range,
|
||||
|
||||
ospf_area_range_unset(ospf, area, area->ranges, &p);
|
||||
|
||||
ospf_area_check_free(ospf, area_id);
|
||||
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user