aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/inet_tcp_dist.erl
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/kernel/src/inet_tcp_dist.erl
parent13baa4384c4c9c49e6d540bc8ae6b8946f2454ed (diff)
downloadotp-acf610d99e209b1304f9368d70fe66e46fa3cdc2.tar.gz
otp-acf610d99e209b1304f9368d70fe66e46fa3cdc2.tar.bz2
otp-acf610d99e209b1304f9368d70fe66e46fa3cdc2.zip
Fix fallback address_please
Diffstat (limited to 'lib/kernel/src/inet_tcp_dist.erl')
-rw-r--r--lib/kernel/src/inet_tcp_dist.erl2
1 files changed, 1 insertions, 1 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.
%% ------------------------------------------------------------