diff options
author | Sverker Eriksson <[email protected]> | 2018-07-10 17:51:23 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-07-10 17:51:23 +0200 |
commit | c4759bc60c8e5db27c070b9e826ddc0f9626b094 (patch) | |
tree | 1e2d24a97fbe84eabe5fb41d503a6076230e2b1c /lib/kernel/doc | |
parent | a0ae44f324576104760a63fe6cf63e0ca31756fc (diff) | |
download | otp-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/doc')
-rw-r--r-- | lib/kernel/doc/src/net_kernel.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/kernel/doc/src/net_kernel.xml b/lib/kernel/doc/src/net_kernel.xml index a30d28d55a..d3bd7365e2 100644 --- a/lib/kernel/doc/src/net_kernel.xml +++ b/lib/kernel/doc/src/net_kernel.xml @@ -102,8 +102,10 @@ $ <input>erl -sname foobar</input></pre> <fsummary>Establish a connection to a node.</fsummary> <desc> <p>Establishes a connection to <c><anno>Node</anno></c>. Returns - <c>true</c> if successful, <c>false</c> if not, and <c>ignored</c> - if the local node is not alive.</p> + <c>true</c> if a connection was established or was already + established or if <c><anno>Node</anno></c> is the local node + itself. Returns <c>false</c> if the connection attempt failed, and + <c>ignored</c> if the local node is not alive.</p> </desc> </func> |