]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typo in SQL ippool query (#4156)
authorJorge Pereira <jpereira@users.noreply.github.com>
Thu, 29 Jul 2021 11:19:53 +0000 (08:19 -0300)
committerGitHub <noreply@github.com>
Thu, 29 Jul 2021 11:19:53 +0000 (07:19 -0400)
raddb/mods-config/sql/ippool/mysql/queries.conf

index 3fd142e5bd806b1d431329075c678cf395a3d4e6..50cae46a716cf4b9531fd538f948771b5744bc37 100644 (file)
@@ -28,7 +28,7 @@ allocate_existing = "\
        AND nasipaddress = '%{NAS-IP-Address}' AND pool_key = '${pool_key}' \
        ORDER BY expiry_time DESC \
        LIMIT 1 \
-       FOR UDPATE ${skip_locked}"
+       FOR UPDATE ${skip_locked}"
 
 #
 #  Find a free IP address from the pool, choosing the oldest expired one.