summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mullvad-types/src/custom_tunnel.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/mullvad-types/src/custom_tunnel.rs b/mullvad-types/src/custom_tunnel.rs
index a3f8c0b264..4fe3e54111 100644
--- a/mullvad-types/src/custom_tunnel.rs
+++ b/mullvad-types/src/custom_tunnel.rs
@@ -82,8 +82,10 @@ impl fmt::Display for CustomTunnelEndpoint {
),
ConnectionConfig::Wireguard(connection) => write!(
f,
- "WireGuard relay - {} with public key {}",
- connection.peer.endpoint, connection.peer.public_key
+ "WireGuard relay - {}:{} with public key {}",
+ self.host,
+ connection.peer.endpoint.port(),
+ connection.peer.public_key
),
}
}