From 3fec3cea161457f643733d056504b3fd4ab3a096 Mon Sep 17 00:00:00 2001 From: brent s Date: Tue, 12 May 2020 21:02:25 -0400 Subject: [PATCH] whoop --- utils/he_ipv6/tunnelbroker.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils/he_ipv6/tunnelbroker.py b/utils/he_ipv6/tunnelbroker.py index b77d08c..70ca754 100644 --- a/utils/he_ipv6/tunnelbroker.py +++ b/utils/he_ipv6/tunnelbroker.py @@ -57,6 +57,12 @@ class TunnelBroker(object): logger.debug('IP update forced; updating.') self._get_my_ip() self.update() + logger.debug('Attempting to clean up any pre-existing config') + try: + self.stop() + logger.debug('Pre-existing config removed, continuing') + except Exception as e: + logger.debug('Config seems to not exist, continuing') ipr = IPRoute() try: ipr.link('add',