mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 19:11:44 +00:00
Print an error when user tries to change a previously configured area.
Ticket: CM-5673 Reviewed By: Donald Testing Done: Cherry picking from 2.5.4, no testing in 3.0 yet.
This commit is contained in:
parent
f35a535097
commit
73b9f7037b
@ -7688,6 +7688,9 @@ DEFUN (ip_ospf_area,
|
|||||||
params = IF_DEF_PARAMS (ifp);
|
params = IF_DEF_PARAMS (ifp);
|
||||||
if (OSPF_IF_PARAM_CONFIGURED(params, if_area))
|
if (OSPF_IF_PARAM_CONFIGURED(params, if_area))
|
||||||
{
|
{
|
||||||
|
vty_out (vty,
|
||||||
|
"Must remove previous area config before changing ospf area %s",
|
||||||
|
VTY_NEWLINE);
|
||||||
return CMD_WARNING;
|
return CMD_WARNING;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user