From 8cb29762a7a841cbe6cdded2202157a9d919421b Mon Sep 17 00:00:00 2001 From: brent s Date: Mon, 18 May 2020 05:48:40 -0400 Subject: [PATCH] and this too --- utils/he_ipv6/tunnel.py | 1 + utils/he_ipv6/tunnelbroker.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/he_ipv6/tunnel.py b/utils/he_ipv6/tunnel.py index b871e3d..0535e5a 100644 --- a/utils/he_ipv6/tunnel.py +++ b/utils/he_ipv6/tunnel.py @@ -151,6 +151,7 @@ class Tunnel(object): self.client = None self.server = None self.endpoint = None + self.ra = None self.ra_provider = None self.allocations = {} # This is a dict of {}[alloc.id] = Allocation obj (as provided by HE) self.assignments = [] # This is a list of Assignment objs diff --git a/utils/he_ipv6/tunnelbroker.py b/utils/he_ipv6/tunnelbroker.py index 1ce42a1..3b62ba2 100644 --- a/utils/he_ipv6/tunnelbroker.py +++ b/utils/he_ipv6/tunnelbroker.py @@ -168,9 +168,9 @@ class TunnelBroker(object): ipr.close() raise e ipr.close() - if self.tun.ra_provider: - self.tun.radvd.conf.write() - self.tun.radvd.svc.restart() + if self.tun.ra: + self.tun.ra.conf.write() + self.tun.ra.svc.restart() return(None) def stop(self):