mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	Removing the route scope attribute. Use custom attributes instead.
The route scope attribute was used for simple user route marking. As there is a better tool for this (custom attributes), the old and limited way can be dropped.
This commit is contained in:
		@@ -2475,7 +2475,6 @@ bgp_decode_nlri(struct bgp_parse_state *s, u32 afi, byte *nlri, uint len, ea_lis
 | 
			
		||||
    a = allocz(RTA_MAX_SIZE);
 | 
			
		||||
 | 
			
		||||
    a->source = RTS_BGP;
 | 
			
		||||
    a->scope = SCOPE_UNIVERSE;
 | 
			
		||||
    a->eattrs = ea;
 | 
			
		||||
 | 
			
		||||
    ea_set_attr_data(&a->eattrs, &ea_gen_from, 0, &s->proto->remote_ip, sizeof(ip_addr));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user