summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r--src/leap/bitmask/vpn/fw/firewall.py2
-rw-r--r--src/leap/bitmask/vpn/management.py1
-rw-r--r--src/leap/bitmask/vpn/process.py2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/bitmask/vpn/fw/firewall.py b/src/leap/bitmask/vpn/fw/firewall.py
index f4325c7..5100a5e 100644
--- a/src/leap/bitmask/vpn/fw/firewall.py
+++ b/src/leap/bitmask/vpn/fw/firewall.py
@@ -123,7 +123,7 @@ class _LinuxFirewallManager(object):
log.failure('Error launching the firewall')
finally:
log.debug(result)
- print "LAUNCHED FIREWALL"
+ print "LAUNCHED FIREWALL", result
emit_async(catalog.VPN_STATUS_CHANGED)
return True
diff --git a/src/leap/bitmask/vpn/management.py b/src/leap/bitmask/vpn/management.py
index e692dc0..6a6b1fc 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()
diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py
index 4a0bb5a..a2b384e 100644
--- a/src/leap/bitmask/vpn/process.py
+++ b/src/leap/bitmask/vpn/process.py
@@ -110,7 +110,7 @@ class _VPNProcess(protocol.ProcessProtocol):
def outReceived(self, data):
# use this to debug failed invocations.
- # print data
+ print("DEBUG VPN: %s" % data)
pass
@defer.inlineCallbacks