aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVince Foley <[email protected]>2018-10-13 20:15:25 -0700
committerVince Foley <[email protected]>2018-10-13 20:15:25 -0700
commitacf610d99e209b1304f9368d70fe66e46fa3cdc2 (patch)
tree86c093a641b54adbc63a5d679cbf97bce8132680 /lib
parent13baa4384c4c9c49e6d540bc8ae6b8946f2454ed (diff)
downloadotp-acf610d99e209b1304f9368d70fe66e46fa3cdc2.tar.gz
otp-acf610d99e209b1304f9368d70fe66e46fa3cdc2.tar.bz2
otp-acf610d99e209b1304f9368d70fe66e46fa3cdc2.zip
Fix fallback address_please
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/inet_tcp_dist.erl2
-rw-r--r--lib/ssl/src/inet_tls_dist.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/inet_tcp_dist.erl b/lib/kernel/src/inet_tcp_dist.erl
index d1701afdaa..c37212b0f9 100644
--- a/lib/kernel/src/inet_tcp_dist.erl
+++ b/lib/kernel/src/inet_tcp_dist.erl
@@ -450,7 +450,7 @@ get_tcp_address(Driver, Socket) ->
get_address_resolver(EpmdModule) ->
case erlang:function_exported(EpmdModule, address_please, 3) of
true -> {EpmdModule, address_please};
- _ -> {inet, getaddr}
+ _ -> {erl_epmd, address_please}
end.
%% ------------------------------------------------------------
diff --git a/lib/ssl/src/inet_tls_dist.erl b/lib/ssl/src/inet_tls_dist.erl
index ca059603ae..a4f8bb7562 100644
--- a/lib/ssl/src/inet_tls_dist.erl
+++ b/lib/ssl/src/inet_tls_dist.erl
@@ -567,7 +567,7 @@ gen_close(Driver, Socket) ->
get_address_resolver(EpmdModule, Driver) ->
case erlang:function_exported(EpmdModule, address_please, 3) of
true -> {EpmdModule, address_please};
- _ -> {Driver, getaddr}
+ _ -> {erl_epmd, address_please}
end.
%% ------------------------------------------------------------