From: Philippe Guibert Date: Fri, 19 Feb 2021 13:17:05 +0000 (+0100) Subject: bgpd: add attribute-unchanged attribute to flowspec X-Git-Tag: base_8.0~363^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b8ad84d2115cbb07077faa229fc27f03b970be74;p=matthieu%2Ffrr.git bgpd: add attribute-unchanged attribute to flowspec flowspec address family can now use attribute-unchanged attribute. This parameter is necessary when it comes to play with route-server-client, as that latter command forces to change attribute-unchanged nexthop. Signed-off-by: Philippe Guibert --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index f8ef5e2aa2..ab9e8af96d 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -18077,6 +18077,11 @@ void bgp_vty_init(void) install_element(BGP_EVPN_NODE, &neighbor_attr_unchanged_cmd); install_element(BGP_EVPN_NODE, &no_neighbor_attr_unchanged_cmd); + install_element(BGP_FLOWSPECV4_NODE, &neighbor_attr_unchanged_cmd); + install_element(BGP_FLOWSPECV4_NODE, &no_neighbor_attr_unchanged_cmd); + install_element(BGP_FLOWSPECV6_NODE, &neighbor_attr_unchanged_cmd); + install_element(BGP_FLOWSPECV6_NODE, &no_neighbor_attr_unchanged_cmd); + /* "nexthop-local unchanged" commands */ install_element(BGP_IPV6_NODE, &neighbor_nexthop_local_unchanged_cmd); install_element(BGP_IPV6_NODE,