From: Alan T. DeKok Date: Wed, 13 Dec 2023 15:20:12 +0000 (-0500) Subject: document priorities X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f337df67df9c23f293fe55d6a3401a31b6c68a;p=thirdparty%2Ffreeradius-server.git document priorities --- diff --git a/doc/antora/modules/reference/pages/unlang/actions.adoc b/doc/antora/modules/reference/pages/unlang/actions.adoc index 1646b554834..a91abc96f7a 100644 --- a/doc/antora/modules/reference/pages/unlang/actions.adoc +++ b/doc/antora/modules/reference/pages/unlang/actions.adoc @@ -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 diff --git a/doc/antora/modules/reference/pages/unlang/module.adoc b/doc/antora/modules/reference/pages/unlang/module.adoc index 9648cc025e7..643e6af4fc7 100644 --- a/doc/antora/modules/reference/pages/unlang/module.adoc +++ b/doc/antora/modules/reference/pages/unlang/module.adoc @@ -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 ` = (0+||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 ` = ([0-9]+||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.