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)
|
family = socket.AF_INET6)
|
||||||
logger.debug('Added default route for link {0}.'.format(self.iface_name))
|
logger.debug('Added default route for link {0}.'.format(self.iface_name))
|
||||||
except Exception as e:
|
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()
|
ipr.close()
|
||||||
raise e
|
raise e
|
||||||
for assignment in self.tun.assignments:
|
for assignment in self.tun.assignments:
|
||||||
|
Loading…
Reference in New Issue
Block a user