mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	
		
			
	
	
		
			24 lines
		
	
	
		
			267 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			267 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								router id 1.1.1.1;
							 | 
						||
| 
								 | 
							
								protocol device {}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								function a() {
							 | 
						||
| 
								 | 
							
								  return true;
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								function b() {
							 | 
						||
| 
								 | 
							
								  return a();
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								function c() {
							 | 
						||
| 
								 | 
							
								  return b();
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								filter d {
							 | 
						||
| 
								 | 
							
								  if c() then accept; else reject;
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								protocol static {
							 | 
						||
| 
								 | 
							
								  ipv4 { import filter d; };
							 | 
						||
| 
								 | 
							
								  route 10.0.0.0/24 unreachable;
							 | 
						||
| 
								 | 
							
								}
							 |