mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-29 18:15:27 +00:00
Merge pull request #391 from opensourcerouting/fix-no-router-ospf6
ospf6d: fix "no router ospf6"
This commit is contained in:
commit
9a09fb8e95
@ -315,6 +315,14 @@ DEFUN (no_router_ospf6,
|
|||||||
ROUTER_STR
|
ROUTER_STR
|
||||||
OSPF6_STR)
|
OSPF6_STR)
|
||||||
{
|
{
|
||||||
|
if (ospf6 == NULL)
|
||||||
|
vty_out (vty, "OSPFv3 is not configured%s", VNL);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ospf6_delete (ospf6);
|
||||||
|
ospf6 = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
/* return to config node . */
|
/* return to config node . */
|
||||||
VTY_PUSH_CONTEXT_NULL(CONFIG_NODE);
|
VTY_PUSH_CONTEXT_NULL(CONFIG_NODE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user