From f857ea3a89d7c9653f81f53506d1623178ac1ca5 Mon Sep 17 00:00:00 2001 From: Jorge Pereira Date: Mon, 21 Aug 2023 04:11:53 -0300 Subject: [PATCH] Fix attributes (#5151) The nested attributes are not present in v3.x --- raddb/mods-available/json | 2 +- raddb/sites-available/default | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/raddb/mods-available/json b/raddb/mods-available/json index 02a62aed489a7..88f17c030bfed 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 2171e317a526c..b4339bde9e229 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