File 0456-ssh-Used-fixed-localhost-address.patch of Package erlang
From db0595fd0caa5d327b537a7a2857f155b98216dd Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Fri, 26 Oct 2018 10:27:05 +0200
Subject: [PATCH 3/4] ssh: Used fixed localhost address
Problem on Darwin, Solaris and FreeBSD with local addresses in 127.1.0.0/8
---
lib/ssh/test/property_test/ssh_eqc_client_server.erl | 5 ++---
1 file 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()}] ).
--
2.16.4