diff options
| author | vivek <vivek@cumulusnetworks.com> | 2016-06-06 19:29:05 -0700 |
|---|---|---|
| committer | vivek <vivek@cumulusnetworks.com> | 2016-06-06 19:29:05 -0700 |
| commit | 8ecd32669320500e6d144d079a42183035b0ee4f (patch) | |
| tree | 13291508d3d6168d3039073fd5b137a88b39160f /lib/command.c | |
| parent | 945c8fe985b57c97fe6eb84d055196752ade9736 (diff) | |
bgpd, lib, vtysh: hook up bgp VPNv6 CLI node
Signed-off-by: Lou Berger <lberger@labn.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 13c378d96a57017f5995b2e0df46cfc31123f0e8)
Conflicts:
bgpd/bgp_vty.c
bgpd/bgpd.c
vtysh/vtysh_config.c
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 5 |
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: |
