mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	Small bug in detection of class-A networks.
This commit is contained in:
		@@ -60,7 +60,7 @@ ipv4_class_mask(u32 a)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	if (a < 0x80000000)
 | 
						if (a < 0x80000000)
 | 
				
			||||||
		m = 0xff000000;
 | 
							m = 0xff000000;
 | 
				
			||||||
	if (a < 0xc0000000)
 | 
						else if (a < 0xc0000000)
 | 
				
			||||||
		m = 0xffff0000;
 | 
							m = 0xffff0000;
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
		m = 0xffffff00;
 | 
							m = 0xffffff00;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user