Skip to content

Commit

Permalink
Merge branch 'legoscia/patch-3' into maint
Browse files Browse the repository at this point in the history
* legoscia/patch-3:
  Fix documentation of net_kernel:allow/1

OTP-13299
  • Loading branch information
zhird committed Feb 4, 2016
2 parents e3d8f19 + 05eee24 commit 66fc5ed
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions lib/kernel/doc/src/net_kernel.xml
Expand Up @@ -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>
Expand Down

0 comments on commit 66fc5ed

Please sign in to comment.