]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
sql.accounting needs Acct-Status-Type
authorAlan T. DeKok <aland@freeradius.org>
Tue, 25 May 2021 12:58:53 +0000 (08:58 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 25 May 2021 12:58:53 +0000 (08:58 -0400)
otherwise it won't work

raddb/policy.d/accounting

index 8e4c38a1c4d7f65a1f3d9dc9f3673d3d6e759030..f962e328a27e36730eee8d827e9c8682d373e0fb 100644 (file)
@@ -119,5 +119,12 @@ acct_counters64.preacct {
 #
 sql_session_start.post-auth {
        acct_unique
+
+       #
+       #  The SQL accounting queries need an Acct-Status-Type attribute
+       #
+       update request {
+               Acct-Status-Type := Start
+       }
        sql.accounting
 }