summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 99aa669530..17e0f8d3b9 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2576,6 +2576,7 @@ node_parent ( enum node_type node )
switch (node)
{
case BGP_VPNV4_NODE:
+ case BGP_VPNV6_NODE:
case BGP_IPV4_NODE:
case BGP_IPV4M_NODE:
case BGP_IPV6_NODE:
@@ -2961,9 +2962,10 @@ DEFUN (config_exit,
case VTY_NODE:
vty->node = CONFIG_NODE;
break;
- case BGP_VPNV4_NODE:
case BGP_IPV4_NODE:
case BGP_IPV4M_NODE:
+ case BGP_VPNV4_NODE:
+ case BGP_VPNV6_NODE:
case BGP_IPV6_NODE:
case BGP_IPV6M_NODE:
vty->node = BGP_NODE;
@@ -3004,6 +3006,7 @@ DEFUN (config_end,
case RIPNG_NODE:
case BGP_NODE:
case BGP_VPNV4_NODE:
+ case BGP_VPNV6_NODE:
case BGP_IPV4_NODE:
case BGP_IPV4M_NODE:
case BGP_IPV6_NODE: