aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/test/ssh_relay.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ssh/test/ssh_relay.erl')
-rw-r--r--lib/ssh/test/ssh_relay.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_relay.erl b/lib/ssh/test/ssh_relay.erl
index 28000fbb97..1e3810e9d4 100644
--- a/lib/ssh/test/ssh_relay.erl
+++ b/lib/ssh/test/ssh_relay.erl
@@ -131,7 +131,8 @@ init([ListenAddr, ListenPort, PeerAddr, PeerPort | _Options]) ->
S = #state{local_addr = ListenAddr,
local_port = ListenPort,
lpid = LPid,
- peer_addr = PeerAddr,
+ peer_addr = ssh_test_lib:ntoa(
+ ssh_test_lib:mangle_connect_address(PeerAddr)),
peer_port = PeerPort
},
{ok, S};