diff options
-rw-r--r-- | src/leap/bitmask/vpn/fw/firewall.py | 2 | ||||
-rw-r--r-- | src/leap/bitmask/vpn/management.py | 1 | ||||
-rw-r--r-- | src/leap/bitmask/vpn/process.py | 2 |
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 f4325c77..5100a5ee 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 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() diff --git a/src/leap/bitmask/vpn/process.py b/src/leap/bitmask/vpn/process.py index 4a0bb5a2..a2b384e9 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 |