diff options
Diffstat (limited to 'src/leap/bitmask/vpn/_management.py')
-rw-r--r-- | src/leap/bitmask/vpn/_management.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/_management.py b/src/leap/bitmask/vpn/_management.py index 9ae90118..920bd9d1 100644 --- a/src/leap/bitmask/vpn/_management.py +++ b/src/leap/bitmask/vpn/_management.py @@ -241,7 +241,10 @@ class VPNManagement(object): parts = stripped.split(",") if len(parts) < 5: continue - ts, status_step, ok, ip, remote = parts + try: + ts, status_step, ok, ip, remote, port, _, _, _ = parts + except ValueError: + ts, status_step, ok, ip, remote, port, _, _ = parts state = status_step if state != self._last_state: |