]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
document priorities
authorAlan T. DeKok <aland@freeradius.org>
Wed, 13 Dec 2023 15:20:12 +0000 (10:20 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Dec 2023 00:42:57 +0000 (19:42 -0500)
doc/antora/modules/reference/pages/unlang/actions.adoc
doc/antora/modules/reference/pages/unlang/module.adoc

index 1646b554834dfa63d151c76950374d5ab36a7ea0..a91abc96f7a65e1d1c753944936598f0d5780ad0 100644 (file)
@@ -29,6 +29,11 @@ following keywords:
 * `else`
 * `elsif`
 * `group`
+* `timeout`
+
+== Priorities
+
+Higher numbers mean higher priorities.  An rcode of `fail` with priority `3` will over-ride an rcode of `ok` with priority `1`,
 
 == Override Syntax
 
index 9648cc025e739867f13a52b32354fd61f948343b..643e6af4fc73bfaf9a28d123fce030462b906d66 100644 (file)
@@ -59,8 +59,8 @@ These over-rides use the same syntax as the
 xref:unlang/actions.adoc[actions] subsection.
 
 Module priority overrides are specified in a block inline with the module call.
-The format of an override is `<rcode> = (0+|<rcode>|return)` - That is,
-a number greater than or equal to 0, the priority of another rcode, or the special
+The format of an override is `<rcode> = ([0-9]+|<rcode>|return)` - That is,
+a decimal number greater than or equal to 0, the priority of another rcode, or the special
 priority `return` which causes the current section to immediately exit.
 
 [source, unlang]
@@ -86,6 +86,5 @@ ldap { <1>
 See the xref:unlang/actions.adoc[actions] page for more information on
 the syntax of the `actions` section.
 
-
 // Copyright (C) 2021 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
 // This documentation was developed by Network RADIUS SAS.