and this too

This commit is contained in:
brent s. 2020-05-18 05:48:40 -04:00
parent ca594b09dd
commit 8cb29762a7
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
2 changed files with 4 additions and 3 deletions

View File

@ -151,6 +151,7 @@ class Tunnel(object):
self.client = None self.client = None
self.server = None self.server = None
self.endpoint = None self.endpoint = None
self.ra = None
self.ra_provider = None self.ra_provider = None
self.allocations = {} # This is a dict of {}[alloc.id] = Allocation obj (as provided by HE) self.allocations = {} # This is a dict of {}[alloc.id] = Allocation obj (as provided by HE)
self.assignments = [] # This is a list of Assignment objs self.assignments = [] # This is a list of Assignment objs

View File

@ -168,9 +168,9 @@ class TunnelBroker(object):
ipr.close() ipr.close()
raise e raise e
ipr.close() ipr.close()
if self.tun.ra_provider: if self.tun.ra:
self.tun.radvd.conf.write() self.tun.ra.conf.write()
self.tun.radvd.svc.restart() self.tun.ra.svc.restart()
return(None) return(None)


def stop(self): def stop(self):