]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't mash RHS to one string return the set
authorAlan T. DeKok <aland@freeradius.org>
Mon, 2 Sep 2024 14:03:15 +0000 (10:03 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 2 Sep 2024 18:00:19 +0000 (14:00 -0400)
src/tests/keywords/concat

index b454a73b9dfbc85a5a211986a0d47b874a8c0892..1be67c9be30a0ef61f1165134f10c9ba37fac649 100644 (file)
@@ -30,10 +30,10 @@ if !(&result_string == "456789") {
 
 #
 #  &ref could return a list.
-#  (string) &ref casts each value to a string
-#    and returns a list of strings
 #
-&Called-Station-Id := %{(string) &control.NAS-Port[*]}
+#  Which we then cast individually to the LHS
+#
+&Called-Station-Id := &control.NAS-Port[*]
 if !(&Called-Station-Id[0] == "456") {
        test_fail
 }