diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2019-06-13 21:16:31 +0100 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2019-06-14 11:12:36 +0100 |
| commit | 0bc90f330be6bfbaf7e50c4d0220210f958c4956 (patch) | |
| tree | 9161e7f7a7c29b51bd55403a2fbe322662b0972f | |
| parent | cb46a012ac13052e8356f8b523f91836e12746ea (diff) | |
| download | mullvadvpn-0bc90f330be6bfbaf7e50c4d0220210f958c4956.tar.xz mullvadvpn-0bc90f330be6bfbaf7e50c4d0220210f958c4956.zip | |
Add linux specific message about firewall errors in CLI
| -rw-r--r-- | mullvad-cli/src/cmds/status.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mullvad-cli/src/cmds/status.rs b/mullvad-cli/src/cmds/status.rs index 0f82591eea..8642c581ce 100644 --- a/mullvad-cli/src/cmds/status.rs +++ b/mullvad-cli/src/cmds/status.rs @@ -87,6 +87,11 @@ fn print_blocked_reason(reason: &BlockReason) { .unwrap_or("Account authentication failed"); println!("Blocked: {}", AuthFailed::from(auth_failure_str)); } + #[cfg(target_os = "linux")] + BlockReason::SetFirewallPolicyError => { + println!("Blocked: {}", BlockReason::SetFirewallPolicyError); + println!("Your kernel might be terribly out of date or missing nftables"); + } other => println!("Blocked: {}", other), } } |
