summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/management.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-08-28 18:00:47 -0400
committerKali Kaneko <kali@leap.se>2017-08-30 16:18:51 -0400
commit2ff3f6adf7ce24cf31f5ad398cebddef0ff0b0a1 (patch)
tree7696c70374da46c364eb3a786bef86c087884b23 /src/leap/bitmask/vpn/management.py
parentb9fff80022e15560151f523015cb5bf73bd3cff1 (diff)
[bug] return if cannot parse state
Diffstat (limited to 'src/leap/bitmask/vpn/management.py')
-rw-r--r--src/leap/bitmask/vpn/management.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/management.py b/src/leap/bitmask/vpn/management.py
index e692dc05..6a6b1fc2 100644
--- a/src/leap/bitmask/vpn/management.py
+++ b/src/leap/bitmask/vpn/management.py
@@ -156,6 +156,7 @@ class ManagementProtocol(LineReceiver):
ts, state = data[:2]
except Exception as exc:
log.error('Failure parsing data: %s' % exc)
+ return
if state != self.state:
now = time.time()