first-run cache issue

This commit is contained in:
2020-05-15 01:48:26 -04:00
parent 05ef5b078c
commit f37d26572a
2 changed files with 4 additions and 2 deletions

View File

@@ -266,7 +266,9 @@ class HETunnelConfig(HEBaseConfig):
self.my_ip = None # Client IPv4 (not necessary; we locally cache Tunnel.my_ip)
self.allocations = {} # keys are 64 and 48
self.rdns = [] # Also not necessary, but it's in the XML so why not.
self.tun_xml = self.xml.find('tunnel') # Will only return a single <tunnel> for this URL.
# Will only return a single <tunnel> for this URL.
# TODO: I can probably consolidate all this into HECond instead?
self.tun_xml = self.xml.find('tunnel')
self.parse()
def _alloc(self):