From 4cee00720335c3714bf460bbbd0ad687667a0b3b Mon Sep 17 00:00:00 2001 From: brent s Date: Sun, 10 May 2020 06:10:41 -0400 Subject: [PATCH] oops. i think it works now --- utils/he_ipv6.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/he_ipv6.py b/utils/he_ipv6.py index 1328d7e..2dec3eb 100755 --- a/utils/he_ipv6.py +++ b/utils/he_ipv6.py @@ -179,7 +179,7 @@ class TunnelBroker(object): '{2}').format(str(a), self.iface_name, e)) raise e try: - self.ipr.route('add', dst = '::', mask = 0, oif = self.iface_idx, family = socket.AF_INET6) + self.ipr.route('add', dst = 'default', oif = self.iface_idx, 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)) @@ -201,7 +201,7 @@ class TunnelBroker(object): except Exception as e: logger.error('Could not bring down link {0}: {1} (continuing anyways)'.format(self.iface_name, e)) try: - self.ipr.route('del', dst = '::', mask = 0, oif = self.iface_idx, family = socket.AF_INET6) + self.ipr.route('del', dst = 'default', oif = self.iface_idx, family = socket.AF_INET6) except Exception as e: logger.error(('Could not remove default IPv6 route on link {0}: ' '{1} (continuing anyways)').format(self.iface_name, e))