diff options
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | mullvad-types/src/custom_tunnel.rs | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d7884eebfa..867ffeae3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,8 @@ Line wrap the file at 100 chars. Th - Remove wireguard-go (userspace WireGuard) support. ### Fixed +- Show correct endpoint in CLI for custom relays. + #### Windows - Correctly detect whether OS is Windows Server (primarily for logging in daemon.log). 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 ), } } |
