From 1e83659026e5b9c5876273c83e86fd229dd98c88 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 22 Aug 2005 22:39:56 +0000 Subject: 2005-08-22 Hugo Santos * 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 --- lib/ChangeLog | 7 +++++++ lib/command.c | 5 ++++- lib/command.h | 1 + lib/vty.c | 1 + 4 files changed, 13 insertions(+), 1 deletion(-) (limited to 'lib') 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 + + * 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 * 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 */ diff --git a/lib/vty.c b/lib/vty.c index e429ef17..540f7b98 100644 --- a/lib/vty.c +++ b/lib/vty.c @@ -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: -- cgit v1.2.1