diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2018-09-10 16:15:26 +0100 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2018-09-10 18:23:06 +0100 |
| commit | f2bc67d504b3755c895f90472ebe0f01b9f78c08 (patch) | |
| tree | ab12ed675b0818bcfb8b01d11684421c0dd70a70 /mullvad-daemon/src | |
| parent | 01a1bfd53a3e3e0534ed78c841f4447be1afb763 (diff) | |
| download | mullvadvpn-f2bc67d504b3755c895f90472ebe0f01b9f78c08.tar.xz mullvadvpn-f2bc67d504b3755c895f90472ebe0f01b9f78c08.zip | |
Attempt to apply target state if in blocked state
Diffstat (limited to 'mullvad-daemon/src')
| -rw-r--r-- | mullvad-daemon/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-daemon/src/main.rs b/mullvad-daemon/src/main.rs index b4b1f465a8..1bcdeb8dd2 100644 --- a/mullvad-daemon/src/main.rs +++ b/mullvad-daemon/src/main.rs @@ -593,7 +593,7 @@ impl Daemon { /// progress towards that state. /// Returns an error if trying to set secured state, but no account token is present. fn set_target_state(&mut self, new_state: TargetState) -> ::std::result::Result<(), ()> { - if new_state != self.target_state { + if new_state != self.target_state || self.tunnel_state.is_blocked() { debug!("Target state {:?} => {:?}", self.target_state, new_state); self.target_state = new_state; match self.target_state { |
