From: Daniel Walton Date: Thu, 12 Nov 2015 20:25:46 +0000 (+0000) Subject: BGP: "redistribute" is missing from the "address-family ipv4 unicast" sub-context X-Git-Tag: frr-2.0-rc1~1199^2~11 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=919e06667ab15d8a92882755d6b0bacf3af178ef;p=matthieu%2Ffrr.git BGP: "redistribute" is missing from the "address-family ipv4 unicast" sub-context Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp Ticket: CM-8164 --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 6bbb5d8dd3..911cc5953b 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -13249,6 +13249,26 @@ bgp_vty_init (void) install_element (BGP_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_metric_cmd); install_element (BGP_NODE, &bgp_redistribute_ipv4_ospf_metric_rmap_cmd); install_element (BGP_NODE, &no_bgp_redistribute_ipv4_ospf_metric_rmap_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_rmap_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_rmap_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_metric_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_metric_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_rmap_metric_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_metric_rmap_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_rmap_metric_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_metric_rmap_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_rmap_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_metric_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_metric_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_rmap_metric_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_rmap_metric_cmd); + install_element (BGP_IPV4_NODE, &bgp_redistribute_ipv4_ospf_metric_rmap_cmd); + install_element (BGP_IPV4_NODE, &no_bgp_redistribute_ipv4_ospf_metric_rmap_cmd); #ifdef HAVE_IPV6 install_element (BGP_IPV6_NODE, &bgp_redistribute_ipv6_cmd); install_element (BGP_IPV6_NODE, &no_bgp_redistribute_ipv6_cmd);