From d8440a7507ab46ca3524e34179fbe71c7cf28bee Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Fri, 6 Oct 2023 07:43:17 -0400 Subject: [PATCH] typos --- raddb/mods-config/sql/main/mssql/queries.conf | 2 +- raddb/mods-config/sql/main/mysql/queries.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/raddb/mods-config/sql/main/mssql/queries.conf b/raddb/mods-config/sql/main/mssql/queries.conf index d02e3269ae2f..fd32c59e9428 100644 --- a/raddb/mods-config/sql/main/mssql/queries.conf +++ b/raddb/mods-config/sql/main/mssql/queries.conf @@ -155,7 +155,7 @@ accounting { AcctStopTime=${....event_timestamp}, \ AcctSessionTime=${....event_timestamp_epoch} - \ DATEDIFF(SS, '1970-01-01', AcctStartTime), \ - AcctTerminateCause='%{&Acct-Terminate-Cause || &NAS-Reboot}', \ + AcctTerminateCause='%{&Acct-Terminate-Cause || NAS-Reboot}', \ AcctStopDelay = %{&Acct-Delay-Time || 0} \ WHERE AcctStopTime = 0 \ AND NASIPAddress = '%{NAS-IP-Address}' \ diff --git a/raddb/mods-config/sql/main/mysql/queries.conf b/raddb/mods-config/sql/main/mysql/queries.conf index 78d087f0f6c1..72ae7d63ff08 100644 --- a/raddb/mods-config/sql/main/mysql/queries.conf +++ b/raddb/mods-config/sql/main/mysql/queries.conf @@ -205,7 +205,7 @@ accounting { acctstoptime = ${....event_timestamp}, \ acctsessiontime = '${....event_timestamp_epoch}' \ - UNIX_TIMESTAMP(acctstarttime), \ - acctterminatecause = '%{&Acct-Terminate-Cause || &NAS-Reboot}' \ + acctterminatecause = '%{&Acct-Terminate-Cause || NAS-Reboot}' \ WHERE acctstoptime IS NULL \ AND nasipaddress = '%{NAS-IP-Address}' \ AND acctstarttime <= ${....event_timestamp}"