From: nolade Date: Thu, 13 Mar 2025 15:37:55 +0000 (-0400) Subject: Remove & from &request attribute X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=613ecb2a193c01cb25cbaf63de90ac6c81976733;p=thirdparty%2Ffreeradius-server.git Remove & from &request attribute perl -p -i -e 's/\&request/request/g' $(git grep -lE '&[a-zA-Z0-9]' doc/antora | egrep -v 'raddb|developers|interpreter|assets') --- diff --git a/doc/antora/modules/howto/pages/installation/upgrade.adoc b/doc/antora/modules/howto/pages/installation/upgrade.adoc index 9ab02f2978c..979f6375d3a 100644 --- a/doc/antora/modules/howto/pages/installation/upgrade.adoc +++ b/doc/antora/modules/howto/pages/installation/upgrade.adoc @@ -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 diff --git a/doc/antora/modules/howto/pages/protocols/dhcp/policy_device_options.adoc b/doc/antora/modules/howto/pages/protocols/dhcp/policy_device_options.adoc index 34539613491..08e3cfa9a9a 100644 --- a/doc/antora/modules/howto/pages/protocols/dhcp/policy_device_options.adoc +++ b/doc/antora/modules/howto/pages/protocols/dhcp/policy_device_options.adoc @@ -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 ---- diff --git a/doc/antora/modules/reference/pages/unlang/edit.adoc b/doc/antora/modules/reference/pages/unlang/edit.adoc index 0e3674268f0..85323c42888 100644 --- a/doc/antora/modules/reference/pages/unlang/edit.adoc +++ b/doc/antora/modules/reference/pages/unlang/edit.adoc @@ -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 ---- ==== diff --git a/doc/antora/modules/reference/pages/xlat/builtin.adoc b/doc/antora/modules/reference/pages/xlat/builtin.adoc index daf41ca59af..ee52830d484 100644 --- a/doc/antora/modules/reference/pages/xlat/builtin.adoc +++ b/doc/antora/modules/reference/pages/xlat/builtin.adoc @@ -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` diff --git a/doc/antora/modules/reference/pages/xlat/protocol.adoc b/doc/antora/modules/reference/pages/xlat/protocol.adoc index ac31cca2b56..8db56059171 100644 --- a/doc/antora/modules/reference/pages/xlat/protocol.adoc +++ b/doc/antora/modules/reference/pages/xlat/protocol.adoc @@ -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