]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove stray %
authorNick Porter <nick@portercomputing.co.uk>
Tue, 10 Jun 2025 13:36:29 +0000 (14:36 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 10 Jun 2025 13:38:37 +0000 (14:38 +0100)
src/tests/modules/redis_ippool/pool_tool_delete.unlang
src/tests/modules/redis_ippool/static.unlang
src/tests/modules/redis_ippool/static_unassign.unlang

index 8470b4411c2791d0d3bc87330325941ab69afcd8..153863dbae685647bfb4d404d3c7b682b151f02e 100644 (file)
@@ -44,7 +44,7 @@ if !(%redis('EXISTS', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}")
 }
 
 # Check the ZSCORE
-if !(%redis('ZCOUNT', "{%{control.IP-Pool.Name}%}:pool", '-inf', '+inf') == 0) {
+if !(%redis('ZCOUNT', "{%{control.IP-Pool.Name}}:pool", '-inf', '+inf') == 0) {
        test_fail
 }
 
index f9c20c6398ef9320aa95ff8c9538701b5b0ed390..8dd9ff29c175090880e97c770578a78404cc14bb 100644 (file)
@@ -85,7 +85,7 @@ if (%redis('EXISTS', "{%{control.IP-Pool.Name}}:ip:%{reply.Framed-IP-Address}")
 }
 
 # Check the ZSCORE
-if (%redis('ZSCORE', "{%{control.IP-Pool.Name}%}:pool", %{reply.Framed-IP-Address}) <= %l) {
+if (%redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", "%{reply.Framed-IP-Address}") <= %l) {
        test_fail
 }
 
index 2ce526498786d18a9744081e0606499710f0b140..27afd11cb836dd9f6e827fa76f70d2f4e63b286a 100644 (file)
@@ -85,7 +85,7 @@ if (%redis('EXISTS', "{%{control.IP-Pool.Name}}:device:%{Calling-Station-ID}") !
 }
 
 # Check the ZSCORE
-if (%redis('ZSCORE', "{%{control.IP-Pool.Name}%}:pool", %{reply.Framed-IP-Address}) > %l) {
+if (%redis('ZSCORE', "{%{control.IP-Pool.Name}}:pool", %{reply.Framed-IP-Address}) > %l) {
        test_fail
 }