]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't use unlang keyword as variable name
authorAlan T. DeKok <aland@freeradius.org>
Fri, 6 Sep 2024 18:45:04 +0000 (14:45 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 6 Sep 2024 18:45:04 +0000 (14:45 -0400)
raddb/policy.d/time

index 5455fa10f8904ab39b09bbca729375d2886b6823..2dbec4cbada3025211a1740f55eb78e66427e544 100644 (file)
@@ -3,7 +3,7 @@
 #
 expiration {
        if (&control.Expiration) {
-               time_delta timeout
+               time_delta when
 
                #
                #  %l is "when the server received the request"
@@ -13,8 +13,8 @@ expiration {
                        return
                }
 
-               &timeout = &control.Expiration - %l
+               &when = &control.Expiration - %l
 
-               &reply.Session-Timeout <= &timeout
+               &reply.Session-Timeout <= &when
        }
 }