mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	Stop perusing f_prefix for non-prefix-set uses
Multiple changes by Ondrej Santiago Zajicek
This commit is contained in:
		
				
					committed by
					
						
						Ondrej Zajicek (work)
					
				
			
			
				
	
			
			
			
						parent
						
							d7661fbe9d
						
					
				
				
					commit
					5e173e9f63
				
			@@ -98,10 +98,8 @@ idval:
 | 
			
		||||
 | SYM {
 | 
			
		||||
     if ($1->class == (SYM_CONSTANT | T_INT) || $1->class == (SYM_CONSTANT | T_QUAD))
 | 
			
		||||
       $$ = SYM_VAL($1).i;
 | 
			
		||||
#ifndef IPV6
 | 
			
		||||
     else if ($1->class == (SYM_CONSTANT | T_IP))
 | 
			
		||||
       $$ = ipa_to_u32(SYM_VAL($1).px.ip);
 | 
			
		||||
#endif
 | 
			
		||||
     else if (($1->class == (SYM_CONSTANT | T_IP)) && ipa_is_ip4(SYM_VAL($1).ip))
 | 
			
		||||
       $$ = ipa_to_u32(SYM_VAL($1).ip);
 | 
			
		||||
     else
 | 
			
		||||
       cf_error("Number of IPv4 address constant expected");
 | 
			
		||||
   }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user