From 05eee243c7e5fb8d501807a3b11065e1bf2c2b9a Mon Sep 17 00:00:00 2001 From: Magnus Henoch Date: Wed, 11 Nov 2015 15:33:39 +0000 Subject: Fix documentation of net_kernel:allow/1 Make the documentation reflect what the function actually does. --- lib/kernel/doc/src/net_kernel.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'lib/kernel') diff --git a/lib/kernel/doc/src/net_kernel.xml b/lib/kernel/doc/src/net_kernel.xml index a0132db8db..311e0d8ea4 100644 --- a/lib/kernel/doc/src/net_kernel.xml +++ b/lib/kernel/doc/src/net_kernel.xml @@ -63,11 +63,16 @@ - Limit access to a specified set of nodes + Permit access to a specified set of nodes -

Limits access to the specified set of nodes. Any access - attempts made from (or to) nodes not in Nodes will be - rejected.

+

Permits access to the specified set of nodes.

+

Before the first call to allow/1, any node with the correct + cookie can be connected. When allow/1 is called, a list + of allowed nodes is established. Any access attempts made from (or to) + nodes not in that list will be rejected.

+

Subsequent calls to allow/1 will add the specified nodes + to the list of allowed nodes. It is not possible to remove nodes + from the list.

Returns error if any element in Nodes is not an atom.

-- cgit v1.2.3