]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
tweaks to make it clearer
authorAlan T. DeKok <aland@freeradius.org>
Tue, 3 Feb 2026 19:57:12 +0000 (14:57 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 3 Feb 2026 19:57:12 +0000 (14:57 -0500)
doc/antora/modules/reference/pages/unlang/module.adoc

index 7a8e254e6b5fab02fff17c9470dd5ab2c528e062..a09235d5b6d64823fc844a75a49fc28666d432f2 100644 (file)
@@ -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 `<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.
 
+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>
 }
 ----