From e7b708e558039e224eec7b64622f4f3659d78318 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Wed, 28 Feb 2024 12:00:59 +0100 Subject: [PATCH] Make `block-connection` block even if disconnected --- mullvad-cli/src/cmds/debug.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mullvad-cli/src/cmds/debug.rs b/mullvad-cli/src/cmds/debug.rs index 47db11ee0576..832e6eaa8e54 100644 --- a/mullvad-cli/src/cmds/debug.rs +++ b/mullvad-cli/src/cmds/debug.rs @@ -32,6 +32,9 @@ impl DebugCommands { ); rpc.set_relay_settings(RelaySettings::Normal(constraints)) .await?; + + rpc.connect_tunnel().await?; + eprintln!("WARNING: ENTERED BLOCKED MODE"); Ok(()) }