From: Jorge Pereira Date: Tue, 23 Jul 2019 02:09:56 +0000 (-0300) Subject: doc/unlang/: Fix asciidoc warn/errors X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7da3d9eddaeddc8567ea39ff1a486a754f2638b;p=thirdparty%2Ffreeradius-server.git doc/unlang/: Fix asciidoc warn/errors --- diff --git a/doc/unlang/xlat_predefined.adoc b/doc/unlang/xlat_predefined.adoc index 851ac045c01..a27ba38260b 100644 --- a/doc/unlang/xlat_predefined.adoc +++ b/doc/unlang/xlat_predefined.adoc @@ -1,11 +1,11 @@ include::../img/header.adoc[] -# Pre-defined Expansions +== Pre-defined Expansions In addition to storing attribute references, the server has a number of pre-defined references, as follows: -### - `%{base64:}` +## - `%{base64:}` Encode a string using Base64. @@ -30,7 +30,7 @@ update reply { The base64 of foo is Q2FpcGlyaW5oYQ== ``` -### - `%{base64decode:}` +## - `%{base64decode:}` Decode a string previously encoded using Base64. @@ -55,7 +55,7 @@ update reply { The base64decode of Q2FpcGlyaW5oYQ== is Caipirinha ``` -### - `%{bin:}` +## - `%{bin:}` Convert string to binary. @@ -80,7 +80,7 @@ update reply { The 10 in binary is \020 ``` -### - `%{config:}` +## - `%{config:}` Refers to a variable in the configuration file. See the documentation on configuration file references. @@ -103,7 +103,7 @@ Server installed in /opt/freeradius Module rlm_exec.shell_escape = yes ``` -### - `%{client:}` +## - `%{client:}` Refers to a variable that was defined in the client section for the current client. See the sections `client { ... }` in `clients.conf`. @@ -124,7 +124,7 @@ Example The client ipaddr is 192.168.5.9 ``` -### - `%{concat: <&ref:[idx]>}` +## - `%{concat: <&ref:[idx]>}` Used to join two or more attributes. @@ -154,7 +154,7 @@ aaa, bb, c aaa,bb,c ``` -### - `%{debug:}` +## - `%{debug:}` Dynamically change the debug level to something high, recording the old level. @@ -191,7 +191,7 @@ recv Access-Request { ... ``` -### - `%{debug_attr:}` +## - `%{debug_attr:}` Print to debug output all instances of current attribute, or all attributes in a list. expands to a zero-length string. @@ -228,7 +228,7 @@ recv Access-Request { ... ``` -### - `%{explode:<&ref> }` +## - `%{explode:<&ref> }` Split an attribute into multiple new attributes based on a delimiter. @@ -254,7 +254,7 @@ update reply { Welcome bob.toba ``` -### - `%{hex:}` +## - `%{hex:}` Convert to hex. @@ -279,7 +279,7 @@ update reply { The value of 12345 in hex is 3132333435 ``` -### - `%{integer:<&ref>}` +## - `%{integer:<&ref>}` Print the value of the attribute an integer. In normal operation, `integer` attributes are printed using the name given by a `VALUE` @@ -318,7 +318,7 @@ update reply { The value of Framed-User is 1 ``` -### - `%{length:}` +## - `%{length:}` The string length operator returns the number of characters in the given string as a decimal number. It can be used with attribute or @@ -346,7 +346,7 @@ update reply { The lenght of Caipirinha is 10 ``` -### - `%{md5:}` + +## - `%{md5:}` + Dynamically expands the string and performs an MD5 hash on it. The result is octal digits. @@ -374,7 +374,7 @@ md5 of Caipirinha is octal=\024\204\013md||\230\243\3472\3703\330n\251 md5 of Caipirinha is hex=14840b6d647c7c98a3e732f833d86ea9 ``` -### - `%{nexttime: