summaryrefslogtreecommitdiff
path: root/src/leap/eip/vpnmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/eip/vpnmanager.py')
-rw-r--r--src/leap/eip/vpnmanager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/eip/vpnmanager.py b/src/leap/eip/vpnmanager.py
index caf7ab7..a4d872f 100644
--- a/src/leap/eip/vpnmanager.py
+++ b/src/leap/eip/vpnmanager.py
@@ -65,6 +65,10 @@ class OpenVPNManager(object):
self.host = host
if isinstance(port, str) and port.isdigit():
port = int(port)
+ elif port == "unix":
+ port = "unix"
+ else:
+ port = None
self.port = port
self.password = password
self.tn = None