In the accounting on/off query, remove the restriction that the
[freeradius.git] / raddb / sql / mysql / dialup.conf
index 120fcc4..5e370e7 100644 (file)
                                    unix_timestamp(acctstarttime), \
              acctterminatecause =  '%{Acct-Terminate-Cause}', \
              acctstopdelay      =  %{%{Acct-Delay-Time}:-0} \
-          WHERE acctsessiontime =  0 \
-          AND acctstoptime      =  NULL \
+          WHERE acctstoptime      =  NULL \
           AND nasipaddress      =  '%{NAS-IP-Address}' \
           AND acctstarttime     <= '%S'"