From: Jorge Pereira Date: Mon, 21 Aug 2023 07:11:53 +0000 (-0300) Subject: Fix attributes (#5151) X-Git-Tag: release_3_2_4~153 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f857ea3a89d7c9653f81f53506d1623178ac1ca5;p=thirdparty%2Ffreeradius-server.git Fix attributes (#5151) The nested attributes are not present in v3.x --- diff --git a/raddb/mods-available/json b/raddb/mods-available/json index 02a62aed48..88f17c030b 100644 --- a/raddb/mods-available/json +++ b/raddb/mods-available/json @@ -142,7 +142,7 @@ json { # .Example # # ``` -# %{json_encode:&request[*] !&reply[*] &control.User-Name} +# %{json_encode:&request[*] !&reply[*] &control:User-Name} # ``` # # #### Output format modes diff --git a/raddb/sites-available/default b/raddb/sites-available/default index 2171e317a5..b4339bde9e 100644 --- a/raddb/sites-available/default +++ b/raddb/sites-available/default @@ -352,7 +352,7 @@ authorize { # # If the request contains FreeRADIUS-802.1X-Anonce # and FreeRADIUS-802.1X-EAPoL-Key-Msg, then it will set - # &control.Auth-Type := dpsk + # &control:Auth-Type := dpsk # # The "rewrite_called_station_id" policy creates the # Called-Station-MAC attribute, which is needed by