]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
this is no longer a todo
authorAlan T. DeKok <aland@freeradius.org>
Tue, 19 Aug 2025 13:42:56 +0000 (09:42 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 19 Aug 2025 13:53:20 +0000 (09:53 -0400)
src/tests/keywords/expr-condition

index 14d1d987d12efc8d0b6e7e1f746810feb7dc6061..a4174f7794dc2517507efb859c88982021118643 100644 (file)
@@ -1,17 +1,13 @@
-#
-#  @todo - update the configuration file parse to allow this.
-#
-#
-#  @todo - allow just a bare
-#
-#      NAS-Port := 5 + (User-Name == "bob")
-#
-#  which means updating the config file parser, too.
-#
 NAS-Port := %{5 + (User-Name == "bob")}
 
 if !(NAS-Port == 6) {
        test_fail
 }
 
+NAS-Port := 4 + (User-Name == "bob")
+if !(NAS-Port == 5) {
+       test_fail
+}
+
+
 success