summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/vpn/_management.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/vpn/_management.py')
-rw-r--r--src/leap/bitmask/vpn/_management.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/leap/bitmask/vpn/_management.py b/src/leap/bitmask/vpn/_management.py
index 905372b..8bf3cc7 100644
--- a/src/leap/bitmask/vpn/_management.py
+++ b/src/leap/bitmask/vpn/_management.py
@@ -265,7 +265,11 @@ class VPNManagement(object):
if len(parts) < 2:
continue
- text, value = parts
+ try:
+ text, value = parts
+ except ValueError:
+ logger.debug("Could not parse %s" % parts)
+ return
# text can be:
# "TUN/TAP read bytes"
# "TUN/TAP write bytes"