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

index ed5ac010c4205f6cadbb3812ecb4d517642f0386..3fd142e5bd806b1d431329075c678cf395a3d4e6 100644 (file)
@@ -36,7 +36,7 @@ allocate_existing = "\
 allocate_find = "\
        SELECT framedipaddress FROM ${ippool_table} \
        WHERE pool_name = '%{control:${pool_name}}' \
-       expiry_time < NOW() \
+       AND expiry_time < NOW() \
        ORDER BY expiry_time \
        LIMIT 1 \
        FOR UPDATE ${skip_locked}"