fixing a small issue with the client ip
This commit is contained in:
parent
6248422962
commit
1b090c76ce
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user