diff options
author | Kali Kaneko <kali@leap.se> | 2017-08-29 02:30:11 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-08-30 16:20:40 -0400 |
commit | 356a8263653b2bc2dd2f1c0b7b4d800f0c536b74 (patch) | |
tree | a3fe6b6a8a11cbac052958ed2d3b24aa5318c6ac /src/leap/bitmask/vpn/management.py | |
parent | 6608efaf647b985505d9d90a0cf1120fd178ce64 (diff) |
[bug] catch data tuple with len 5
Diffstat (limited to 'src/leap/bitmask/vpn/management.py')
-rw-r--r-- | src/leap/bitmask/vpn/management.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/management.py b/src/leap/bitmask/vpn/management.py index 753f743..9b08111 100644 --- a/src/leap/bitmask/vpn/management.py +++ b/src/leap/bitmask/vpn/management.py @@ -159,6 +159,8 @@ class ManagementProtocol(LineReceiver): remote, rport, laddr, lport, ip6) = data elif len(data) == 8: ts, state = data[:2] + elif len(data) == 5: + ts, state, verbose, localtun, remote = data else: raise ValueError( 'Cannot parse state data! %s' % data) |