diff options
author | kali <kali@leap.se> | 2012-08-22 07:08:02 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-08-22 07:08:02 +0900 |
commit | b5f7999e43e2c6504b43534e03bfc5a130dfac87 (patch) | |
tree | ac920902bc0e258559d0ffe88909eae182773f7e /src/leap/eip/openvpnconnection.py | |
parent | 6ce22c7ebd293550473bfa5453a2f720dffad3e8 (diff) | |
parent | 3bd45c8e1e020bebf041bc266c5092a41f944130 (diff) |
Merge branch 'refactor-tests' into refactor
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 |