diff options
author | Sverker Eriksson <[email protected]> | 2018-07-12 16:45:39 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-07-12 16:45:39 +0200 |
commit | adb0b077e7ee5b0d9b140bb985b56a43d82927cd (patch) | |
tree | 4cc960e604c88705bfcce0f240c4132a6ac6e26d /lib/kernel/src | |
parent | 97626fffd082904576efbdad3e437720525d5fc2 (diff) | |
parent | c4759bc60c8e5db27c070b9e826ddc0f9626b094 (diff) | |
download | otp-adb0b077e7ee5b0d9b140bb985b56a43d82927cd.tar.gz otp-adb0b077e7ee5b0d9b140bb985b56a43d82927cd.tar.bz2 otp-adb0b077e7ee5b0d9b140bb985b56a43d82927cd.zip |
Merge PR-1870 from sverker/kernel/connect-to-self/ERL-643/OTP-15182
Fix net_kernel:connect_node/1 to local node
Diffstat (limited to 'lib/kernel/src')
-rw-r--r-- | lib/kernel/src/net_kernel.erl | 2 |
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), |