diff options
author | Pat Ruddy <pat@voltanet.io> | 2020-06-10 15:39:37 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2020-09-11 18:26:24 +0200 |
commit | b0610ff7271eb72b69d50e6850ad9f3fb84dd62d (patch) | |
tree | a706a1560bf8e6bbb8cc511d789888d4c82e6dc1 /bgpd | |
parent | test: topotest bgp_evpn_rt5 runs on kernel > 4.18 (diff) | |
download | frr-b0610ff7271eb72b69d50e6850ad9f3fb84dd62d.tar.xz frr-b0610ff7271eb72b69d50e6850ad9f3fb84dd62d.zip |
bgp: remove duplicate command installs
[no_]neighbor_nexthop_self_cmd & [no_]neighbor_nexthop_self_force_cmd
have duplicate install_element actions on the EVPN_NODE. This causes
duplicate command log errors which are caught by topotests. Remove
these.
Signed-off-by: Pat Ruddy <pat@voltanet.io>
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_vty.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index d9c78b262..b2a795b97 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -16446,10 +16446,6 @@ void bgp_vty_init(void) &no_neighbor_route_reflector_client_cmd); install_element(BGP_EVPN_NODE, &neighbor_route_reflector_client_cmd); install_element(BGP_EVPN_NODE, &no_neighbor_route_reflector_client_cmd); - install_element(BGP_EVPN_NODE, &neighbor_nexthop_self_cmd); - install_element(BGP_EVPN_NODE, &no_neighbor_nexthop_self_cmd); - install_element(BGP_EVPN_NODE, &neighbor_nexthop_self_force_cmd); - install_element(BGP_EVPN_NODE, &no_neighbor_nexthop_self_force_cmd); /* "neighbor route-server" commands.*/ install_element(BGP_NODE, &neighbor_route_server_client_hidden_cmd); |