mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	Flushing tmp_linpool in tree test and in static protocol
This commit is contained in:
		@@ -494,7 +494,12 @@ static_start(struct proto *P)
 | 
			
		||||
  proto_notify_state(P, PS_UP);
 | 
			
		||||
 | 
			
		||||
  WALK_LIST(r, cf->routes)
 | 
			
		||||
  {
 | 
			
		||||
    struct lp_state lps;
 | 
			
		||||
    lp_save(tmp_linpool, &lps);
 | 
			
		||||
    static_add_rte(p, r);
 | 
			
		||||
    lp_restore(tmp_linpool, &lps);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  return PS_UP;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user