diff options
| author | Vipin Kumar <vipin@cumulusnetworks.com> | 2015-10-20 15:06:25 -0700 |
|---|---|---|
| committer | Vipin Kumar <vipin@cumulusnetworks.com> | 2015-10-20 15:06:25 -0700 |
| commit | 73b9f7037ba8c0e7ac19adebba1ea4476bce89fe (patch) | |
| tree | 7a43a3e9427b0a47012329844880cf05a656463b | |
| parent | f35a5350975a943f4f219fcb708e2e5ef15597e1 (diff) | |
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.
| -rw-r--r-- | ospfd/ospf_vty.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index f2b34bab17..12187f3136 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -7688,6 +7688,9 @@ DEFUN (ip_ospf_area, params = IF_DEF_PARAMS (ifp); 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; } |
