diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-27 20:57:24 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-28 19:18:45 +0000 |
| commit | 84935bdd79d1460d37d90513f00f032afd68b876 (patch) | |
| tree | d68c36364a80d9865e871dfcbb56ab94b90efa56 /mullvad-cli/src | |
| parent | 16255a79cfc471fecffd92e207fb5ea395adf738 (diff) | |
| download | mullvadvpn-84935bdd79d1460d37d90513f00f032afd68b876.tar.xz mullvadvpn-84935bdd79d1460d37d90513f00f032afd68b876.zip | |
Include location in `TunnelState`
Diffstat (limited to 'mullvad-cli/src')
| -rw-r--r-- | mullvad-cli/src/cmds/status.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mullvad-cli/src/cmds/status.rs b/mullvad-cli/src/cmds/status.rs index ab9f9e4ab5..31e96ff207 100644 --- a/mullvad-cli/src/cmds/status.rs +++ b/mullvad-cli/src/cmds/status.rs @@ -74,10 +74,10 @@ fn print_state(state: &TunnelState) { print!("Tunnel status: "); match state { Blocked(reason) => print_blocked_reason(reason), - Connected { endpoint } => { + Connected { endpoint, .. } => { println!("Connected to {}", endpoint); } - Connecting { endpoint } => println!("Connecting to {}...", endpoint), + Connecting { endpoint, .. } => println!("Connecting to {}...", endpoint), Disconnected => println!("Disconnected"), Disconnecting(_) => println!("Disconnecting..."), } |
