aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-07-10 17:51:23 +0200
committerSverker Eriksson <[email protected]>2018-07-10 17:51:23 +0200
commitc4759bc60c8e5db27c070b9e826ddc0f9626b094 (patch)
tree1e2d24a97fbe84eabe5fb41d503a6076230e2b1c /lib/kernel/src
parenta0ae44f324576104760a63fe6cf63e0ca31756fc (diff)
downloadotp-c4759bc60c8e5db27c070b9e826ddc0f9626b094.tar.gz
otp-c4759bc60c8e5db27c070b9e826ddc0f9626b094.tar.bz2
otp-c4759bc60c8e5db27c070b9e826ddc0f9626b094.zip
kernel: Fix net_kernel:connect_node/1 to local node
to be no-op and return true as it always has before OTP-21.0.
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/net_kernel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/net_kernel.erl b/lib/kernel/src/net_kernel.erl
index c4e1a0ce1e..bea08242d8 100644
--- a/lib/kernel/src/net_kernel.erl
+++ b/lib/kernel/src/net_kernel.erl
@@ -472,7 +472,7 @@ handle_call({passive_cnct, Node}, From, State) ->
%% Explicit connect
%% The response is delayed until the connection is up and running.
%%
-handle_call({connect, _, Node, _, _}, From, State) when Node =:= node() ->
+handle_call({connect, _, Node}, From, State) when Node =:= node() ->
async_reply({reply, true, State}, From);
handle_call({connect, Type, Node}, From, State) ->
verbose({connect, Type, Node}, 1, State),