From 356a8263653b2bc2dd2f1c0b7b4d800f0c536b74 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 29 Aug 2017 02:30:11 -0400 Subject: [bug] catch data tuple with len 5 --- src/leap/bitmask/vpn/management.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/leap/bitmask') diff --git a/src/leap/bitmask/vpn/management.py b/src/leap/bitmask/vpn/management.py index 753f7435..9b081114 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) -- cgit v1.2.3