diff options
author | antialias <antialias@leap.se> | 2012-08-21 16:27:37 -0700 |
---|---|---|
committer | antialias <antialias@leap.se> | 2012-08-21 16:27:37 -0700 |
commit | 5d848fe4f127ea01615102e6d8f14bfb12dfe2da (patch) | |
tree | 51dff8de10f0276786c0c83a55932a7f8932f6e9 /src/leap/eip/openvpnconnection.py | |
parent | e9a817ceadab842ec5382e074e4d7861dbd2b898 (diff) | |
parent | 24f288b5214b814e2e7daa6ef41b226a27d96b81 (diff) |
Merge branch 'develop' of ssh://leap.se:4422/leap-client into develop
Diffstat (limited to 'src/leap/eip/openvpnconnection.py')
-rw-r--r-- | src/leap/eip/openvpnconnection.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/eip/openvpnconnection.py b/src/leap/eip/openvpnconnection.py index a230d229..3972b617 100644 --- a/src/leap/eip/openvpnconnection.py +++ b/src/leap/eip/openvpnconnection.py @@ -85,9 +85,12 @@ to be triggered for each one of them. 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 def _set_autostart(self): config = self.config |