From: Alan T. DeKok Date: Tue, 3 Feb 2026 19:57:12 +0000 (-0500) Subject: tweaks to make it clearer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98f2cc24e1ac24fb3608c45ccb54692c38e4112e;p=thirdparty%2Ffreeradius-server.git tweaks to make it clearer --- diff --git a/doc/antora/modules/reference/pages/unlang/module.adoc b/doc/antora/modules/reference/pages/unlang/module.adoc index 7a8e254e6b5..a09235d5b6d 100644 --- a/doc/antora/modules/reference/pages/unlang/module.adoc +++ b/doc/antora/modules/reference/pages/unlang/module.adoc @@ -53,7 +53,7 @@ if (notfound) { ---- [#configurable_failover] -== Configurable Failover +== Overriding Return Codes The return codes for a module can be can be modified on a per-call basis. These over-rides use the same syntax as theq @@ -64,12 +64,15 @@ 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. +The following example shows what happens on each line of a +configuration file when return code overrides are being used. + [source, unlang] ---- -ldap { <1> - fail = 1 <2> - ok = handled <3> - reject = return <4> +ldap { <1> + fail = 1 <2> + ok = handled <3> + reject = return <4> } ----