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):