]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove & from &request attribute
authornolade <nola.aunger@inkbridge.io>
Thu, 13 Mar 2025 15:37:55 +0000 (11:37 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 15 Mar 2025 13:12:27 +0000 (15:12 +0200)
perl -p -i -e 's/\&request/request/g' $(git grep -lE '&[a-zA-Z0-9]' doc/antora | egrep -v 'raddb|developers|interpreter|assets')

doc/antora/modules/howto/pages/installation/upgrade.adoc
doc/antora/modules/howto/pages/protocols/dhcp/policy_device_options.adoc
doc/antora/modules/reference/pages/unlang/edit.adoc
doc/antora/modules/reference/pages/xlat/builtin.adoc
doc/antora/modules/reference/pages/xlat/protocol.adoc

index 9ab02f2978c7ef09c70c62b8f77cf0cbcabe1277..979f6375d3a40bab1866434d521206ae31c8d511 100644 (file)
@@ -802,7 +802,7 @@ preferable to having them hard-coded in C.
 === rlm_eap_pwd
 
 The `virtual_server` configuration has been removed from EAP-PWD. The
-module now looks for &request.control.Password.Cleartext.
+module now looks for request.control.Password.Cleartext.
 
 === rlm_eap_leap
 
index 34539613491ac25d425b2f98cc68153e79c14bc1..08e3cfa9a9a7502d8e06d1bc27a9cbb92ab2146d 100644 (file)
@@ -215,7 +215,7 @@ context:
 ----
 update control {
         DHCP-SQL-Option-Context := "by-mac"
-        DHCP-SQL-Option-Identifier := &request:DHCP-Client-Hardware-Address
+        DHCP-SQL-Option-Identifier := request:DHCP-Client-Hardware-Address
 }
 dhcp_sql.authorize
 ----
index 0e3674268f08c13c551dfaf6e03cafbec56d45fe..85323c428886d9f008fb26a8369a016391faa45f 100644 (file)
@@ -212,7 +212,7 @@ appended to the list.
 ====
 [source,unlang]
 ----
-reply += &request.User-Name
+reply += request.User-Name
 ----
 ====
 
@@ -295,7 +295,7 @@ copies all of the `request` list contents to the `reply` list.
 ====
 [source,unlang]
 ----
-reply := &request
+reply := request
 ----
 ====
 
@@ -303,7 +303,7 @@ reply := &request
 ====
 [source,unlang]
 ----
-reply += &request
+reply += request
 ----
 ====
 
index daf41ca59af96eea9a9292afa98fa771242a6664..ee52830d4846eb6dc3e331656fc012d03caabb9d 100644 (file)
@@ -136,7 +136,7 @@ if (User-Name == "bob") {
     request.Tmp-String-0 := "not bob!"
 }
 
-reply.Reply-Message := "%eval(&request.Tmp-String-0}"
+reply.Reply-Message := "%eval(request.Tmp-String-0}"
 ----
 
 .Output when `User-Name == bob`
index ac31cca2b56216b55ef9c68293af2faade4a8add..8db56059171ccabae1fcff68c23c86963d5cb3a2 100644 (file)
@@ -71,7 +71,7 @@ It returns the raw encoded data
 ----
 %dhcpv4.encode("Relay-Agent-Information.Circuit-Id = 0xabcdef, Relay-Agent-Information.Remote-Id = 0x010203040506")
 %radius.encode("User-Name = 'ABCD'")
-Tmp-Octets-1 := %dhcpv4.encode(&request.Relay-Agent-Information.[*])
+Tmp-Octets-1 := %dhcpv4.encode(request.Relay-Agent-Information.[*])
 ----
 
 .Output