summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/vpn/process.py5
-rw-r--r--src/leap/bitmask/vpn/tunnel.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py
index b9c84563..1ef54341 100644
--- a/src/leap/bitmask/vpn/process.py
+++ b/src/leap/bitmask/vpn/process.py
@@ -103,6 +103,11 @@ class _VPNProcess(protocol.ProcessProtocol):
# processProtocol methods
+ def outReceived(self, data):
+ # use this to debug failed invocations.
+ # print data
+ pass
+
@defer.inlineCallbacks
def _got_management_protocol(self, proto):
self.proto = proto
diff --git a/src/leap/bitmask/vpn/tunnel.py b/src/leap/bitmask/vpn/tunnel.py
index 7b53d9e9..7dd1d25b 100644
--- a/src/leap/bitmask/vpn/tunnel.py
+++ b/src/leap/bitmask/vpn/tunnel.py
@@ -30,7 +30,7 @@ from .constants import IS_WIN
from .process import VPNProcess
-# The restarts are not really needed, since we're configuring
+# The restarts are not really needed, since we're configuring
# openvpn to restart itself after a period of inactivity. However, if the
# openvpn process is killed by whatever reason, # we'll automatically try to
# restart the process.