diff options
| author | Renato Westphal <renato@openbsd.org> | 2017-04-26 17:57:04 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-26 17:57:04 -0300 |
| commit | a30c1597693a656eb3f744f1e5415d3e7a49fd94 (patch) | |
| tree | 85411ca1c66e055a8ad738b1323d8a56f447d1b8 /lib/command.c | |
| parent | e24287f11c8a0f84523cde9533340d78749aed3d (diff) | |
| parent | 352a10a999955095af2a905869c1274695f813be (diff) | |
Merge pull request #343 from donaldsharp/mpls2
Mpls
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 993d6f9055..af13542bc3 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1055,9 +1055,11 @@ node_parent ( enum node_type node ) case BGP_VNC_L2_GROUP_NODE: case BGP_IPV4_NODE: case BGP_IPV4M_NODE: + case BGP_IPV4L_NODE: case BGP_IPV6_NODE: case BGP_IPV6M_NODE: case BGP_EVPN_NODE: + case BGP_IPV6L_NODE: ret = BGP_NODE; break; case KEYCHAIN_KEY_NODE: @@ -1414,6 +1416,7 @@ cmd_exit (struct vty *vty) break; case BGP_IPV4_NODE: case BGP_IPV4M_NODE: + case BGP_IPV4L_NODE: case BGP_VPNV4_NODE: case BGP_VPNV6_NODE: case BGP_ENCAP_NODE: @@ -1425,6 +1428,7 @@ cmd_exit (struct vty *vty) case BGP_IPV6_NODE: case BGP_IPV6M_NODE: case BGP_EVPN_NODE: + case BGP_IPV6L_NODE: vty->node = BGP_NODE; break; case LDP_IPV4_NODE: @@ -1491,9 +1495,11 @@ DEFUN (config_end, case BGP_VPNV6_NODE: case BGP_IPV4_NODE: case BGP_IPV4M_NODE: + case BGP_IPV4L_NODE: case BGP_IPV6_NODE: case BGP_IPV6M_NODE: case BGP_EVPN_NODE: + case BGP_IPV6L_NODE: case RMAP_NODE: case OSPF_NODE: case OSPF6_NODE: |
