summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2017-02-17 12:18:08 -0500
committerGitHub <noreply@github.com>2017-02-17 12:18:08 -0500
commitbac515c64c89ccbb8a22fa40bd595dd2999404ee (patch)
tree308e52e33bc7b14eda9ab521b71f90a3356b6a46 /lib/command.c
parent9960254b7c3adacbcba47915ce5777466b2ee9aa (diff)
parentf47195ae584424123915172d18bef2ef8ec6179e (diff)
Merge pull request #103 from pguibert6WIND/frr_6wind_evpn_5
Provide EVPN basic support on master branch + EVPN Route Target 5 Support (V2)
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index b166d8e0da..24272ccd1e 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1055,6 +1055,7 @@ node_parent ( enum node_type node )
case BGP_IPV4M_NODE:
case BGP_IPV6_NODE:
case BGP_IPV6M_NODE:
+ case BGP_EVPN_NODE:
ret = BGP_NODE;
break;
case KEYCHAIN_KEY_NODE:
@@ -1421,6 +1422,7 @@ cmd_exit (struct vty *vty)
case BGP_VNC_L2_GROUP_NODE:
case BGP_IPV6_NODE:
case BGP_IPV6M_NODE:
+ case BGP_EVPN_NODE:
vty->node = BGP_NODE;
break;
case LDP_IPV4_NODE:
@@ -1489,6 +1491,7 @@ DEFUN (config_end,
case BGP_IPV4M_NODE:
case BGP_IPV6_NODE:
case BGP_IPV6M_NODE:
+ case BGP_EVPN_NODE:
case RMAP_NODE:
case OSPF_NODE:
case OSPF6_NODE: