gorram it.

This commit is contained in:
brent s. 2020-05-10 05:59:39 -04:00
parent 276041ba7d
commit d52b36251a
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -204,7 +204,7 @@ class TunnelBroker(object):
self.ipr.route('del', dst = '::', mask = 0, oif = self.iface_idx, family = socket.AF_INET6) self.ipr.route('del', dst = '::', mask = 0, oif = self.iface_idx, family = socket.AF_INET6)
except Exception as e: except Exception as e:
logger.error(('Could not remove default IPv6 route on link {0}: ' logger.error(('Could not remove default IPv6 route on link {0}: '
'{1} (continuing anyways)').format(self.iface_name, e))1 '{1} (continuing anyways)').format(self.iface_name, e))
try: try:
self.ipr.link('del', index = self.iface_idx) self.ipr.link('del', index = self.iface_idx)
logger.debug('Deleted link {0}.'.format(self.iface_name)) logger.debug('Deleted link {0}.'.format(self.iface_name))