]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
missed one
authorAlan T. DeKok <aland@freeradius.org>
Mon, 24 May 2021 17:32:21 +0000 (13:32 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 24 May 2021 17:32:21 +0000 (13:32 -0400)
raddb/mods-config/sql/main/sqlite/queries.conf

index 98290ac26e9fcb29ecd966736a7e64aeb2294439..0402056a5dff2d6249d2e6a81e03f2b8363dd7e0 100644 (file)
@@ -42,19 +42,19 @@ sql_user_name = "%{User-Name}"
 #
 class {
        #
-       #  Delete the '#' character from each of the next 3 lines in
-       #  order to put the Class attribute into the various tables.
-       #  Leave the double-quoted string there, as the value for
-       #  the configuration item.
+       #  Delete the '#' character from each of the configuration
+       #  items in this section.  This change puts the Class
+       #  attribute into the various tables.  Leave the double-quoted
+       #  string there, as the value for the configuration item.
        #
        #  See also policy.d/accounting, and the "insert_acct_class"
        #  policy.  You will need to list (or uncomment)
        #  "insert_acct_class" in the "post-auth" section in order to
        #  create a Class attribute.
        #
-       column_name =  # ", class"
-       packet_xlat =  # ", '%{Class}'"
-       reply_xlat =   # ", '%{Reply:Class}'"
+       column_name =   # ", class"
+       packet_xlat =   # ", '%{Class}'"
+       reply_xlat =    # ", '%{Reply:Class}'"
 }
 
 #######################################################################
@@ -329,7 +329,8 @@ accounting {
                                '', \
                                '', \
                                '', \
-                               '')"
+                               '' \
+                               ${....class.reply_xlat})"
 
                        query = "\
                                UPDATE ${....acct_table1} SET \