OSError: illegal IP address string passed to inet_pton
This commit is contained in:
		
							parent
							
								
									cb1a877ddc
								
							
						
					
					
						commit
						9a8bae0ba8
					
				@ -113,7 +113,8 @@ class TunnelBroker(object):
 | 
			
		||||
                      family = socket.AF_INET6)
 | 
			
		||||
            logger.debug('Added default route for link {0}.'.format(self.iface_name))
 | 
			
		||||
        except Exception as e:
 | 
			
		||||
            logger.error(('Could not add default IPv6 route on link {0}: {1}').format(self.iface_name, e))
 | 
			
		||||
            logger.error(('Could not add default IPv6 route on link {0} with '
 | 
			
		||||
                          'gateway {1}: {2}').format(self.iface_name, self.tun.server.str, e))
 | 
			
		||||
            ipr.close()
 | 
			
		||||
            raise e
 | 
			
		||||
        for assignment in self.tun.assignments:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user