Skip to content

Commit 7802473

Browse files
committed
Update noop for accounting handling in buffered-sql. Fixes #5835
1 parent e134547 commit 7802473

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

raddb/sites-available/buffered-sql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,19 @@ server buffered-sql {
144144
# Accounting. Log the accounting data.
145145
#
146146
accounting {
147+
#
148+
# If you receive stop packets with zero session length,
149+
# they will NOT be logged in the database. The SQL module
150+
# will print a message (only in debugging mode), and will
151+
# return "noop".
152+
#
153+
# You can ignore these packets by uncommenting the following
154+
# three lines. Otherwise, the server will not respond to the
155+
# accounting request, and the NAS will retransmit.
156+
#
157+
# if (noop) {
158+
# ok
159+
# }
147160
#
148161
# Log traffic to an SQL database.
149162
#

0 commit comments

Comments
 (0)