summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorPat Ruddy <pat@voltanet.io>2020-06-10 15:39:37 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2020-09-11 18:26:24 +0200
commitb0610ff7271eb72b69d50e6850ad9f3fb84dd62d (patch)
treea706a1560bf8e6bbb8cc511d789888d4c82e6dc1 /bgpd
parenttest: topotest bgp_evpn_rt5 runs on kernel > 4.18 (diff)
downloadfrr-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.c4
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);