From: Nick Porter Date: Fri, 2 Feb 2024 17:52:53 +0000 (+0000) Subject: sqlippool should be called in `accounting ...` sections X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a45be6a479f8ceaf5029aae78e67b4dff78fa9dc;p=thirdparty%2Ffreeradius-server.git sqlippool should be called in `accounting ...` sections So that the correct method is used. --- diff --git a/raddb/sites-available/default b/raddb/sites-available/default index 92f695c5cd4..d04045958a4 100644 --- a/raddb/sites-available/default +++ b/raddb/sites-available/default @@ -1391,35 +1391,54 @@ recv Accounting-Request { # Session start # accounting Start { - + # + # Refresh leases when we see a start. + # + # Ensure that &control.IP-Pool.Name is set to determine which + # pool of IPs are used. Set this in `recv Accounting-Request` so + # it is available for all the accounting sections. + # +# sqlippool } # # Session stop # accounting Stop { - + # + # Return an address to the IP Pool when we see a stop record. + # +# sqlippool } # # Session is still alive # accounting Interim-Update { - + # + # Refresh leases when we see an alive. + # +# sqlippool } # # The NAS has just booted up. # accounting Accounting-On { - + # + # Return all addresses related to this NAS to the IP Pool + # +# sqlippool } # # The NAS is about to go down # accounting Accounting-Off { - + # + # Return all addresses related to this NAS to the IP Pool + # +# sqlippool } # @@ -1487,15 +1506,6 @@ send Accounting-Response { # radutmp # sradutmp - # - # Refresh leases when we see a start or alive. Return an address to - # the IP Pool when we see a stop record. - # - # Ensure that &control.IP-Pool.Name is set to determine which - # pool of IPs are used. - # -# sqlippool - # # Log traffic to an SQL database. #