aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-05-17 11:40:06 +0200
committerLukas Larsson <[email protected]>2018-05-21 17:03:00 +0200
commit8d6a40fd09b3ff7d42786f21b1b252776ebbe1b0 (patch)
treec4bfa70a6ca94cecb8620989df357d3f776eeaec /lib/ssl
parented16c60b34fd7bfd66bc5b32273877aaea453213 (diff)
downloadotp-8d6a40fd09b3ff7d42786f21b1b252776ebbe1b0.tar.gz
otp-8d6a40fd09b3ff7d42786f21b1b252776ebbe1b0.tar.bz2
otp-8d6a40fd09b3ff7d42786f21b1b252776ebbe1b0.zip
ssl: Fix usage of erl_epmd in tls dist
Fixes: 662f3c7ba50ff8ec13d8
Diffstat (limited to 'lib/ssl')
-rw-r--r--lib/ssl/src/inet_tls_dist.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/inet_tls_dist.erl b/lib/ssl/src/inet_tls_dist.erl
index d45f209838..a6ceff25cb 100644
--- a/lib/ssl/src/inet_tls_dist.erl
+++ b/lib/ssl/src/inet_tls_dist.erl
@@ -521,7 +521,7 @@ do_setup(Driver, Kernel, Node, Type, MyNode, LongOrShortNames, SetupTime) ->
ErlEpmd = net_kernel:epmd_module(),
{ARMod, ARFun} = get_address_resolver(ErlEpmd, Driver),
Timer = trace(dist_util:start_timer(SetupTime)),
- case ARMod:ARFun(Address) of
+ case ARMod:ARFun(Name,Address,Driver:family()) of
{ok, Ip, TcpPort, Version} ->
do_setup_connect(Driver, Kernel, Node, Address, Ip, TcpPort, Version, Type, MyNode, Timer);
{ok, Ip} ->