diff options
author | paul <paul> | 2005-08-22 22:39:56 +0000 |
---|---|---|
committer | paul <paul> | 2005-08-22 22:39:56 +0000 |
commit | 1e83659026e5b9c5876273c83e86fd229dd98c88 (patch) | |
tree | cad15dd7ea31d3c0e18f1c0cd868168a3391e01e | |
parent | b40d939b477a08d79dbee947aea42ac652090f85 (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
-rw-r--r-- | lib/ChangeLog | 7 | ||||
-rw-r--r-- | lib/command.c | 5 | ||||
-rw-r--r-- | lib/command.h | 1 | ||||
-rw-r--r-- | lib/vty.c | 1 |
4 files changed, 13 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 8c69a9af..fd6e20b6 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,10 @@ +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 + 2005-08-10 Greg Troxel <gdt@fnord.ir.bbn.com> * getopt.h: Don't declare getopt (rather than getopt_long), since 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: diff --git a/lib/command.h b/lib/command.h index 5328888a..02d96a42 100644 --- a/lib/command.h +++ b/lib/command.h @@ -81,6 +81,7 @@ enum node_type BGP_IPV4_NODE, /* BGP IPv4 unicast address family. */ BGP_IPV4M_NODE, /* BGP IPv4 multicast address family. */ BGP_IPV6_NODE, /* BGP IPv6 address family */ + BGP_IPV6M_NODE, /* BGP IPv6 multicast address family. */ OSPF_NODE, /* OSPF protocol mode */ OSPF6_NODE, /* OSPF protocol for IPv6 mode */ ISIS_NODE, /* ISIS protocol mode */ @@ -685,6 +685,7 @@ vty_end_config (struct vty *vty) 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: |