summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-06-27 18:35:45 +0200
committerRuben Pollan <meskio@sindominio.net>2017-06-29 00:32:20 +0200
commitdb7642a2affccf1bcf0670c28dbbb6b891c46f04 (patch)
tree78c002f88dccee3d41ac45048d6d4f6323475277 /src
parent43bd391b9553563251e0613ac5a6d20735062915 (diff)
[bug] acknoledge max_retries to the openvpn telnet interface
We were allways trying to reconnect for ever.
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/vpn/_management.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/_management.py b/src/leap/bitmask/vpn/_management.py
index 80a82c9..e86b3e5 100644
--- a/src/leap/bitmask/vpn/_management.py
+++ b/src/leap/bitmask/vpn/_management.py
@@ -112,7 +112,7 @@ class VPNManagement(object):
self.connect()
reactor.callLater(
self.CONNECTION_RETRY_TIME,
- self.connect_retry, retry + 1)
+ self.connect_retry, retry + 1, max_retries)
def process_log(self):
if not self._watcher or not self._tn: