]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: fix duplicate install of command
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 12 May 2017 12:40:21 +0000 (09:40 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 12 May 2017 14:48:02 +0000 (11:48 -0300)
Only happens when FRR is configured with --enable-oldvpn-commands.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
bgpd/bgp_mplsvpn.c

index 421b62fba0f494090d021801645dce5ef37a3429..97b40df28a38057bd9e5fdbc0d141563bf7f6aa3 100644 (file)
@@ -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);