diff options
| author | Russ White <russ@riw.us> | 2019-09-03 07:58:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-03 07:58:11 -0400 |
| commit | 6f76b3f6f2357e7538c77951773c06d426ff940a (patch) | |
| tree | 1531bf5579eab70db890a1d81a2842a5a301a01f /lib/command.c | |
| parent | 90959768303e7712b97ef71d55bfae22ccfba02f (diff) | |
| parent | 2d82431a95c90c81d2be6a83dd0101c57df6963c (diff) | |
Merge pull request #4709 from opensourcerouting/frr-bmp
BMP support
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 9dabc2af7e..d4c35a80d5 100644 --- a/lib/command.c +++ b/lib/command.c @@ -151,6 +151,7 @@ const char *node_names[] = { "bfd peer", /* BFD_PEER_NODE */ "openfabric", // OPENFABRIC_NODE "vrrp", /* VRRP_NODE */ + "bmp", /* BMP_NODE */ }; /* clang-format on */ @@ -975,6 +976,7 @@ enum node_type node_parent(enum node_type node) case BGP_IPV6M_NODE: case BGP_EVPN_NODE: case BGP_IPV6L_NODE: + case BMP_NODE: ret = BGP_NODE; break; case BGP_EVPN_VNI_NODE: @@ -1491,6 +1493,7 @@ void cmd_exit(struct vty *vty) case BGP_IPV6M_NODE: case BGP_EVPN_NODE: case BGP_IPV6L_NODE: + case BMP_NODE: vty->node = BGP_NODE; break; case BGP_EVPN_VNI_NODE: |
