mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-03 23:47:16 +00:00 
			
		
		
		
	[bgpd] bug #370, default-originate was broken by a silly thinko
2007-05-25 Paul Jakma <paul.jakma@sun.com> * bgp_route.c: (bgp_default_originate) Sanity check added previously was broken and always failed, thus this function never could run, bug #370.
This commit is contained in:
		
							parent
							
								
									e733f94944
								
							
						
					
					
						commit
						b24970241a
					
				@ -1,3 +1,9 @@
 | 
			
		||||
2007-05-25 Paul Jakma <paul.jakma@sun.com>
 | 
			
		||||
 | 
			
		||||
	* bgp_route.c: (bgp_default_originate) Sanity check added
 | 
			
		||||
	  previously was broken and always failed, thus this function
 | 
			
		||||
	  never could run, bug #370.
 | 
			
		||||
 | 
			
		||||
2007-05-03 Paul Jakma <paul.jakma@sun.com>
 | 
			
		||||
 | 
			
		||||
	* bgp_route.h: (struct info) Move less frequently used
 | 
			
		||||
 | 
			
		||||
@ -2370,7 +2370,7 @@ bgp_default_originate (struct peer *peer, afi_t afi, safi_t safi, int withdraw)
 | 
			
		||||
  struct peer *from;
 | 
			
		||||
  int ret = RMAP_DENYMATCH;
 | 
			
		||||
  
 | 
			
		||||
  if (afi != AFI_IP || afi != AFI_IP6)
 | 
			
		||||
  if (!(afi == AFI_IP || afi == AFI_IP6))
 | 
			
		||||
    return;
 | 
			
		||||
  
 | 
			
		||||
  bgp = peer->bgp;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user