mirror of
				https://github.com/peeringdb/peeringdb.git
				synced 2024-05-11 05:55:09 +00:00 
			
		
		
		
	fix inet.get_prefix_protocol error handler
This commit is contained in:
		| @@ -91,5 +91,5 @@ def get_prefix_protocol(prefix): | |||||||
|         try: |         try: | ||||||
|             ipaddress.IPv6Network(prefix) |             ipaddress.IPv6Network(prefix) | ||||||
|             return "IPv6" |             return "IPv6" | ||||||
|         except ipaddress.AddessValueError: |         except ipaddress.AddressValueError: | ||||||
|             raise ValueErrror("Prefix invalid") |             raise ValueError("Prefix invalid") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user