diff options
| author | Lou Berger <lberger@labn.net> | 2016-01-12 13:42:04 -0500 |
|---|---|---|
| committer | vivek <vivek@cumulusnetworks.com> | 2016-06-11 15:52:05 -0700 |
| commit | 8b1fb8be22f5565618c96f84700975c787e8e935 (patch) | |
| tree | 335a0c863f4385e13dd8054a1097a6776f7cc6b7 /lib/command.c | |
| parent | 587ff0fd881e3532226afa7a007a5a8ff7b89871 (diff) | |
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>
(cherry picked from commit a3fda886cdd48b6d8c421ebb1401142fa9ee93b0)
Conflicts:
bgpd/bgp_vty.c
bgpd/bgpd.c
vtysh/vtysh_config.c
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 72a2739895..b82400ea71 100644 --- a/lib/command.c +++ b/lib/command.c @@ -2594,6 +2594,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: @@ -2983,6 +2985,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; @@ -3022,6 +3026,8 @@ DEFUN (config_end, case RIP_NODE: case RIPNG_NODE: case BGP_NODE: + case BGP_ENCAP_NODE: + case BGP_ENCAPV6_NODE: case BGP_VPNV4_NODE: case BGP_VPNV6_NODE: case BGP_IPV4_NODE: |
