aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZandra <[email protected]>2016-02-04 15:31:17 +0100
committerZandra <[email protected]>2016-02-04 15:31:17 +0100
commit771c4e5f346e9ee79a9d40251d545fc2ef6d2157 (patch)
treef134870938772c02e6dc5aeb6ffb1ed221c27bbd
parentb200eebcf53b44ea8e5d3f1003f5a0c160b8dbbd (diff)
parent66fc5eda45507c637571b2baa97e0fa4aab8033f (diff)
downloadotp-771c4e5f346e9ee79a9d40251d545fc2ef6d2157.tar.gz
otp-771c4e5f346e9ee79a9d40251d545fc2ef6d2157.tar.bz2
otp-771c4e5f346e9ee79a9d40251d545fc2ef6d2157.zip
Merge branch 'maint'
-rw-r--r--lib/kernel/doc/src/net_kernel.xml13
1 files changed, 9 insertions, 4 deletions
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 @@
<funcs>
<func>
<name name="allow" arity="1"/>
- <fsummary>Limit access to a specified set of nodes</fsummary>
+ <fsummary>Permit access to a specified set of nodes</fsummary>
<desc>
- <p>Limits access to the specified set of nodes. Any access
- attempts made from (or to) nodes not in <c><anno>Nodes</anno></c> will be
- rejected.</p>
+ <p>Permits access to the specified set of nodes.</p>
+ <p>Before the first call to <c>allow/1</c>, any node with the correct
+ cookie can be connected. When <c>allow/1</c> is called, a list
+ of allowed nodes is established. Any access attempts made from (or to)
+ nodes not in that list will be rejected.</p>
+ <p>Subsequent calls to <c>allow/1</c> will add the specified nodes
+ to the list of allowed nodes. It is not possible to remove nodes
+ from the list.</p>
<p>Returns <c>error</c> if any element in <c><anno>Nodes</anno></c> is not
an atom.</p>
</desc>