]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove '&' from client module
authorAlan T. DeKok <aland@freeradius.org>
Thu, 6 Mar 2025 16:10:42 +0000 (11:10 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 6 Mar 2025 16:49:40 +0000 (11:49 -0500)
doc/antora/modules/reference/pages/raddb/mods-available/client.adoc
raddb/mods-available/client

index d5f7f412c7fcb0ae5e2f94edb306a9a197517e42..8bfe6c35c5690da2c64092fd662ad00dc3bc42cf 100644 (file)
@@ -52,19 +52,19 @@ Maps arbitrary fields from a client definition to attributes in the current requ
 [source,unlang]
 ---
 map client [<ipaddr>] {      // <1>
-     &Foo = 'nas_type'       // <2>
-     &Bar := 'shortname'     // <3>
-     &Baz += 'groups'        // <4>
+     Foo = 'nas_type'       // <2>
+     Bar := 'shortname'     // <3>
+     Baz += 'groups'        // <4>
 }
 ---
 
 <1> By default `map client { ... }` will operate on the current client, but alternative
     clients can by specified by `<ipaddr>`.
 <2> Assigns the value of the `nas_type` field from the client definition to
-    `&Foo` if the `&Foo` attribute does not exist.
+    `Foo` if the `&Foo` attribute does not exist.
 <3> Assigns the value of the `shortname` field from the client definition to
-    `&Bar`.
-<4> Creates multiple `&Baz` attributes from a custom group field associated
+    `Bar`.
+<4> Creates multiple `Baz` attributes from a custom group field associated
     with the client.
 
 
index c7f14b35d750d92a569c469c018b64aa6216d6f9..8dcbf8c8f6b5ed68558f04bf19945def9036c7d5 100644 (file)
 #  [source,unlang]
 #  ---
 #  map client [<ipaddr>] {      // <1>
-#       &Foo = 'nas_type'       // <2>
-#       &Bar := 'shortname'     // <3>
-#       &Baz += 'groups'        // <4>
+#       Foo = 'nas_type'       // <2>
+#       Bar := 'shortname'     // <3>
+#       Baz += 'groups'        // <4>
 #  }
 #  ---
 #
 #  <1> By default `map client { ... }` will operate on the current client, but alternative
 #      clients can by specified by `<ipaddr>`.
 #  <2> Assigns the value of the `nas_type` field from the client definition to
-#      `&Foo` if the `&Foo` attribute does not exist.
+#      `Foo` if the `&Foo` attribute does not exist.
 #  <3> Assigns the value of the `shortname` field from the client definition to
-#      `&Bar`.
-#  <4> Creates multiple `&Baz` attributes from a custom group field associated
+#      `Bar`.
+#  <4> Creates multiple `Baz` attributes from a custom group field associated
 #      with the client.
 
 #