summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 80a82c93..e86b3e5b 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: