aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-10-26 10:27:05 +0200
committerHans Nilsson <[email protected]>2018-10-29 10:41:34 +0100
commitdb0595fd0caa5d327b537a7a2857f155b98216dd (patch)
tree522c4b648f560d6279f86ab3e46f6191e0b95ba1 /lib/ssh
parent60ecb51ec89100d24fc1d6bdb8d1a87069837626 (diff)
downloadotp-db0595fd0caa5d327b537a7a2857f155b98216dd.tar.gz
otp-db0595fd0caa5d327b537a7a2857f155b98216dd.tar.bz2
otp-db0595fd0caa5d327b537a7a2857f155b98216dd.zip
ssh: Used fixed localhost address
Problem on Darwin, Solaris and FreeBSD with local addresses in 127.1.0.0/8
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/test/property_test/ssh_eqc_client_server.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ssh/test/property_test/ssh_eqc_client_server.erl b/lib/ssh/test/property_test/ssh_eqc_client_server.erl
index 450f03950b..05c8abfd12 100644
--- a/lib/ssh/test/property_test/ssh_eqc_client_server.erl
+++ b/lib/ssh/test/property_test/ssh_eqc_client_server.erl
@@ -80,9 +80,8 @@
-define(SUBSYSTEMS, ["echo1", "echo2", "echo3", "echo4"]).
--define(SERVER_ADDRESS, { {127,1,0,choose(1,254)}, % IP
- choose(1024,65535) % Port
- }).
+-define(SERVER_ADDRESS, {127,0,0,1}). % Server listening IP. Darwin, Solaris & FreeBSD
+ % dislikes all other in 127.0.0.0/24
-define(SERVER_EXTRA_OPTIONS, [{parallel_login,bool()}] ).