summaryrefslogtreecommitdiffstats
path: root/lib/command.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2016-01-12 13:42:04 -0500
committerPaul Jakma <paul.jakma@hpe.com>2016-02-26 14:11:44 +0000
commita3fda886cdd48b6d8c421ebb1401142fa9ee93b0 (patch)
tree42a5e6fda0978185128544fd199caf8ed93e58a3 /lib/command.c
parent637035710a2f8e1e5944ee714135b7f88ac15ac4 (diff)
downloadquagga-a3fda886cdd48b6d8c421ebb1401142fa9ee93b0.tar.bz2
quagga-a3fda886cdd48b6d8c421ebb1401142fa9ee93b0.tar.xz
bgpd, lib, vtysh: hook up bgp ENCAP CLI node
Signed-off-by: Lou Berger <lberger@labn.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index dbcef5ee..80893602 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2591,6 +2591,8 @@ node_parent ( enum node_type node )
{
case BGP_VPNV4_NODE:
case BGP_VPNV6_NODE:
+ case BGP_ENCAP_NODE:
+ case BGP_ENCAPV6_NODE:
case BGP_IPV4_NODE:
case BGP_IPV4M_NODE:
case BGP_IPV6_NODE:
@@ -2962,6 +2964,8 @@ DEFUN (config_exit,
case BGP_IPV4M_NODE:
case BGP_VPNV4_NODE:
case BGP_VPNV6_NODE:
+ case BGP_ENCAP_NODE:
+ case BGP_ENCAPV6_NODE:
case BGP_IPV6_NODE:
case BGP_IPV6M_NODE:
vty->node = BGP_NODE;
@@ -3001,6 +3005,8 @@ DEFUN (config_end,
case RIPNG_NODE:
case BABEL_NODE:
case BGP_NODE:
+ case BGP_ENCAP_NODE:
+ case BGP_ENCAPV6_NODE:
case BGP_VPNV4_NODE:
case BGP_VPNV6_NODE:
case BGP_IPV4_NODE: