fixing a small issue with the client ip

This commit is contained in:
brent s. 2020-05-15 03:02:39 -04:00
parent 6248422962
commit 1b090c76ce
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -279,9 +279,9 @@ class HETunnelConfig(HEBaseConfig):
return(None)

def _client(self):
_client = self.tun_xml.find('clientv4').text
_client = self.tun_xml.find('clientv6').text
if _client is not None and _client.strip() != '':
self.client = tunnel.IP4(_client.strip(), 32)
self.client = tunnel.IP6(_client.strip(), 64)
return(None)

def _desc(self):