summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/tunnel.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-08-28 23:42:53 -0400
committerKali Kaneko <kali@leap.se>2017-08-30 16:18:56 -0400
commitec3c4a21b24afac389a10bdbbb9ac36acd2a6ffb (patch)
tree8e9ef63ae61244641421d858fe08f0410bfd6ada /src/leap/bitmask/vpn/tunnel.py
parent081ef137ab4d1325a46a24752b11a60b953c1bb4 (diff)
[bug] assign initial empty state
Diffstat (limited to 'src/leap/bitmask/vpn/tunnel.py')
-rw-r--r--src/leap/bitmask/vpn/tunnel.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/vpn/tunnel.py b/src/leap/bitmask/vpn/tunnel.py
index 831f04d2..ce4707af 100644
--- a/src/leap/bitmask/vpn/tunnel.py
+++ b/src/leap/bitmask/vpn/tunnel.py
@@ -50,7 +50,7 @@ class ConfiguredTunnel(object):
On start, it spawns a VPNProcess instance that will use a vpnlauncher
suited for the running platform and connect to the management interface
opened by the openvpn process, executing commands over that interface on
- demand.
+ demand
"""
log = Logger()
@@ -100,8 +100,8 @@ class ConfiguredTunnel(object):
@defer.inlineCallbacks
def _start_vpn(self):
self.log.debug('VPN: start')
- args = [self._vpnconfig, self._providerconfig, self._host,
- self._port]
+ args = [self._vpnconfig, self._providerconfig,
+ self._host, self._port]
kwargs = {'openvpn_verb': 4, 'remotes': self._remotes,
'restartfun': self._restart_vpn}
vpnproc = VPNProcess(*args, **kwargs)