summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-05-12 14:40:21 +0200
committerRenato Westphal <renato@opensourcerouting.org>2017-05-12 17:02:24 +0200
commit92a8bd6e7a9b24a350e45c1a3db939b0f591fa0a (patch)
treefc9c911995abf5b4ffb0d649366c7ea3bd115811 /bgpd
parentbgpd: fix 'show bgp [...] longer-prefixes' (diff)
downloadfrr-92a8bd6e7a9b24a350e45c1a3db939b0f591fa0a.tar.xz
frr-92a8bd6e7a9b24a350e45c1a3db939b0f591fa0a.zip
bgpd: fix duplicate install of command
Only happens when FRR is configured with --enable-oldvpn-commands. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_mplsvpn.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c
index 421b62fba..97b40df28 100644
--- a/bgpd/bgp_mplsvpn.c
+++ b/bgpd/bgp_mplsvpn.c
@@ -1196,7 +1196,6 @@ bgp_mplsvpn_init (void)
install_element (VIEW_NODE, &show_ip_bgp_vpn_rd_cmd);
#ifdef KEEP_OLD_VPN_COMMANDS
install_element (VIEW_NODE, &show_ip_bgp_vpn_all_cmd);
- install_element (VIEW_NODE, &show_ip_bgp_vpn_rd_cmd);
install_element (VIEW_NODE, &show_ip_bgp_vpn_all_tags_cmd);
install_element (VIEW_NODE, &show_ip_bgp_vpn_rd_tags_cmd);
install_element (VIEW_NODE, &show_ip_bgp_vpn_all_neighbor_routes_cmd);