]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Update default delay for rlm_delay
authorNick Porter <nick@portercomputing.co.uk>
Fri, 6 Jan 2023 19:36:17 +0000 (19:36 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 6 Jan 2023 19:36:17 +0000 (19:36 +0000)
Due to the option being parsed as a tmpl, if it is 1.0, it becomes a
float, which doesn't have a cast to fr_time_delta_t.

Adding the time unit, makes it a string which parses fine.

raddb/mods-available/delay

index 4f6984eeff2b879d4168ea6ae8b63d291be393a6..7b6a0528548b1c25fafcf5b48fb16972760c1da7 100644 (file)
@@ -29,7 +29,7 @@ delay {
        #
        #  delay:: How long to delay request processing for.
        #
-       delay = 1.0
+       delay = 1.0s
 
        #
        #  force_reschedule:: Whether the request should be rescheduled even if no