diff options
author | Kali Kaneko <kali@leap.se> | 2014-06-04 12:18:18 -0500 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-06-04 14:01:50 -0500 |
commit | aba3ea21d83e6e073baf01643b68832530a6f4d0 (patch) | |
tree | e16fadc6286fedf1e2ddcd0d4f173a37e7226011 /src/leap/bitmask/gui/mainwindow.py | |
parent | 532a4f63d219e9d9daa1a3252aa8909ca6d8030a (diff) |
tear down fw on cold starts. Closes: ##5727
Diffstat (limited to 'src/leap/bitmask/gui/mainwindow.py')
-rw-r--r-- | src/leap/bitmask/gui/mainwindow.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py index 6d30e399..a3b81fde 100644 --- a/src/leap/bitmask/gui/mainwindow.py +++ b/src/leap/bitmask/gui/mainwindow.py @@ -1543,6 +1543,8 @@ class MainWindow(QtGui.QMainWindow): should_start = self._provides_eip_and_enabled() if should_start and not self._already_started_eip: + if self._eip_status.is_cold_start: + self._backend.tear_fw_down() # XXX this should be handled by the state machine. self._enable_eip_start_action() self._eip_status.set_eip_status( |