summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/eip_status.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-06-04 12:18:18 -0500
committerKali Kaneko <kali@leap.se>2014-06-04 14:01:50 -0500
commitaba3ea21d83e6e073baf01643b68832530a6f4d0 (patch)
treee16fadc6286fedf1e2ddcd0d4f173a37e7226011 /src/leap/bitmask/gui/eip_status.py
parent532a4f63d219e9d9daa1a3252aa8909ca6d8030a (diff)
tear down fw on cold starts. Closes: ##5727
Diffstat (limited to 'src/leap/bitmask/gui/eip_status.py')
-rw-r--r--src/leap/bitmask/gui/eip_status.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/eip_status.py b/src/leap/bitmask/gui/eip_status.py
index f03a1a1d..280ce79e 100644
--- a/src/leap/bitmask/gui/eip_status.py
+++ b/src/leap/bitmask/gui/eip_status.py
@@ -85,6 +85,7 @@ class EIPStatusWidget(QtGui.QWidget):
self._provider = ""
self.is_restart = False
+ self.is_cold_start = True
# Action for the systray
self._eip_disabled_action = QtGui.QAction(
@@ -508,6 +509,7 @@ class EIPStatusWidget(QtGui.QWidget):
# --- is this currently being sent?
self.eipconnection.qtsigs.connected_signal.emit()
self._on_eip_connected()
+ self.is_cold_start = False
# XXX should lookup vpn_state map in EIPConnection
elif vpn_state == "AUTH":