mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-03 23:47:16 +00:00 
			
		
		
		
	bgpd: Allow setting dampening for more address families
Until now, it was possible to set only for ipv4 unicast/multicast. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
		
							parent
							
								
									8a4e7fe661
								
							
						
					
					
						commit
						ef5f4b2373
					
				@ -13525,14 +13525,21 @@ void bgp_route_init(void)
 | 
			
		||||
	install_element(BGP_IPV6M_NODE,
 | 
			
		||||
			&no_ipv6_bgp_distance_source_access_list_cmd);
 | 
			
		||||
 | 
			
		||||
	/* BGP dampening */
 | 
			
		||||
	install_element(BGP_NODE, &bgp_damp_set_cmd);
 | 
			
		||||
	install_element(BGP_NODE, &bgp_damp_unset_cmd);
 | 
			
		||||
	install_element(BGP_IPV4_NODE, &bgp_damp_set_cmd);
 | 
			
		||||
	install_element(BGP_IPV4_NODE, &bgp_damp_unset_cmd);
 | 
			
		||||
 | 
			
		||||
	/* IPv4 Multicast Mode */
 | 
			
		||||
	install_element(BGP_IPV4M_NODE, &bgp_damp_set_cmd);
 | 
			
		||||
	install_element(BGP_IPV4M_NODE, &bgp_damp_unset_cmd);
 | 
			
		||||
	install_element(BGP_IPV4L_NODE, &bgp_damp_set_cmd);
 | 
			
		||||
	install_element(BGP_IPV4L_NODE, &bgp_damp_unset_cmd);
 | 
			
		||||
	install_element(BGP_IPV6_NODE, &bgp_damp_set_cmd);
 | 
			
		||||
	install_element(BGP_IPV6_NODE, &bgp_damp_unset_cmd);
 | 
			
		||||
	install_element(BGP_IPV6M_NODE, &bgp_damp_set_cmd);
 | 
			
		||||
	install_element(BGP_IPV6M_NODE, &bgp_damp_unset_cmd);
 | 
			
		||||
	install_element(BGP_IPV6L_NODE, &bgp_damp_set_cmd);
 | 
			
		||||
	install_element(BGP_IPV6L_NODE, &bgp_damp_unset_cmd);
 | 
			
		||||
 | 
			
		||||
	/* Large Communities */
 | 
			
		||||
	install_element(VIEW_NODE, &show_ip_bgp_large_community_list_cmd);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user