hrm. it keeps saying no route to host?

This commit is contained in:
brent s. 2020-05-12 22:59:11 -04:00
parent 3fec3cea16
commit 422a69ff41
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -129,14 +129,14 @@ class TunnelBroker(object):
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}: {1}').format(self.iface_name, e))
ipr.close() ipr.close()
raise e raise e
try: # try:
ipr.route('add', # ipr.route('add',
dst = '::/96', # dst = '::/96',
gateway = '::', # gateway = '::',
oif = self.iface_idx, # oif = self.iface_idx,
family = socket.AF_INET6) # family = socket.AF_INET6)
except Exception as e: # except Exception as e:
logger.error(('Could not add ::/96 on link {0}: {1}'.format(self.iface_name, e))) # logger.error(('Could not add ::/96 on link {0}: {1}'.format(self.iface_name, e)))
ipr.close() ipr.close()
return(None) return(None)