diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-10-05 16:18:28 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-10-05 16:18:28 +0200 |
| commit | f18fefd5e5fc3ac2fa66b5fa667be42e518d9013 (patch) | |
| tree | a36f5269571820196ac9bbd2d0eff000a97d1a65 /mullvad-cli/src | |
| parent | 3e33f9dcfbdf9ac24ef222a12868798cf9f22cf8 (diff) | |
| parent | 0bd4165557516d0a21603e524b97d6c2d9689575 (diff) | |
| download | mullvadvpn-f18fefd5e5fc3ac2fa66b5fa667be42e518d9013.tar.xz mullvadvpn-f18fefd5e5fc3ac2fa66b5fa667be42e518d9013.zip | |
Merge branch 'show-hostname-not-ip'
Diffstat (limited to 'mullvad-cli/src')
| -rw-r--r-- | mullvad-cli/src/cmds/status.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mullvad-cli/src/cmds/status.rs b/mullvad-cli/src/cmds/status.rs index 06d75380aa..11e436d34a 100644 --- a/mullvad-cli/src/cmds/status.rs +++ b/mullvad-cli/src/cmds/status.rs @@ -58,11 +58,13 @@ fn print_location(rpc: &mut DaemonRpcClient) -> Result<()> { } else { format!("{}", location.country) }; + if let Some(hostname) = location.hostname { + println!("Relay: {}", hostname); + } println!("Location: {}", city_and_country); println!( "Position: {:.5}°N, {:.5}°W", location.latitude, location.longitude ); - println!("IP: {}", location.ip); Ok(()) } |
