summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorpaul <paul>2005-08-22 22:39:56 +0000
committerpaul <paul>2005-08-22 22:39:56 +0000
commit1e83659026e5b9c5876273c83e86fd229dd98c88 (patch)
treecad15dd7ea31d3c0e18f1c0cd868168a3391e01e /lib/command.c
parentb40d939b477a08d79dbee947aea42ac652090f85 (diff)
2005-08-22 Hugo Santos <hsantos@av.it.pt>
* command.h: (enum node_type) Add BGP_IPV6M_NODE * command.c: (node_parent) Handle BGP_IPV6M_NODE node (config_exit, config_end) ditto * vty.c: (vty_end_config) Handle BGP_IPV6M_NODE node
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 83b8a956..f6423595 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1,5 +1,5 @@
/*
- $Id: command.c,v 1.48 2005/05/06 21:25:49 paul Exp $
+ $Id: command.c,v 1.49 2005/08/22 22:39:56 paul Exp $
Command interpreter routine for virtual terminal [aka TeletYpe]
Copyright (C) 1997, 98, 99 Kunihiro Ishiguro
@@ -1966,6 +1966,7 @@ node_parent ( enum node_type node )
case BGP_IPV4_NODE:
case BGP_IPV4M_NODE:
case BGP_IPV6_NODE:
+ case BGP_IPV6M_NODE:
ret = BGP_NODE;
break;
case KEYCHAIN_KEY_NODE:
@@ -2391,6 +2392,7 @@ DEFUN (config_exit,
case BGP_IPV4_NODE:
case BGP_IPV4M_NODE:
case BGP_IPV6_NODE:
+ case BGP_IPV6M_NODE:
vty->node = BGP_NODE;
break;
case KEYCHAIN_KEY_NODE:
@@ -2430,6 +2432,7 @@ DEFUN (config_end,
case BGP_IPV4_NODE:
case BGP_IPV4M_NODE:
case BGP_IPV6_NODE:
+ case BGP_IPV6M_NODE:
case RMAP_NODE:
case OSPF_NODE:
case OSPF6_NODE: