From: Alan T. DeKok Date: Thu, 15 Mar 2012 21:37:22 +0000 (-0400) Subject: Added "Interim-Update" as a copy of "Alive" X-Git-Tag: release_2_2_0~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0873b3cf5d7687739cedc0620a1f065a9c5ed7e;p=thirdparty%2Ffreeradius-server.git Added "Interim-Update" as a copy of "Alive" --- diff --git a/raddb/modules/sql_log b/raddb/modules/sql_log index aad8c559f26..344cadec24a 100644 --- a/raddb/modules/sql_log +++ b/raddb/modules/sql_log @@ -48,6 +48,13 @@ sql_log { ('%{Acct-Session-Id}', '%{User-Name}', '%{NAS-IP-Address}', \ '%{Framed-IP-Address}', '0', '0', '%{Acct-Session-Time}','');" + # The same as "Alive" + Interim-Update = "INSERT INTO ${acct_table} (AcctSessionId, UserName, \ + NASIPAddress, FramedIPAddress, AcctStartTime, AcctStopTime, \ + AcctSessionTime, AcctTerminateCause) VALUES \ + ('%{Acct-Session-Id}', '%{User-Name}', '%{NAS-IP-Address}', \ + '%{Framed-IP-Address}', '0', '0', '%{Acct-Session-Time}','');" + Post-Auth = "INSERT INTO ${postauth_table} \ (username, pass, reply, authdate) VALUES \ ('%{User-Name}', '%{User-Password:-Chap-Password}', \