diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-06-27 18:35:45 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-06-29 00:32:20 +0200 |
commit | db7642a2affccf1bcf0670c28dbbb6b891c46f04 (patch) | |
tree | 78c002f88dccee3d41ac45048d6d4f6323475277 /src/leap/bitmask | |
parent | 43bd391b9553563251e0613ac5a6d20735062915 (diff) |
[bug] acknoledge max_retries to the openvpn telnet interface
We were allways trying to reconnect for ever.
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/vpn/_management.py | 2 |
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: |