]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
clean up after other fix
authorAlan T. DeKok <aland@freeradius.org>
Wed, 4 Oct 2023 14:48:49 +0000 (10:48 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 4 Oct 2023 14:48:49 +0000 (10:48 -0400)
using

if (&reply.WiMAX.Capability.Release == "foo")

will now parse correctly, but will fail at run time.  The
Release attribute should be parented by Capability, but it is not.

So we need more tests for aliases :(

src/tests/keywords/xlat-unknown

index 07c27deccb865b4f77515b5769b2f931214aedca..43a1950dbe3f94a3d73d0cc80af25cbe6ded5913 100644 (file)
@@ -6,11 +6,11 @@ update reply {
 }
 
 #
-#  This should be Vendor-Specific.WiMAX.Relase, so the
+#  This should be Vendor-Specific.WiMAX.Release, so the
 #  reference here should be to an unknown attribute,
 #  and the dereference should fail.
 #
-if (&reply.WiMAX.Capability.Release == "foo") { # ERROR
+if (&reply.Capability.Release == "foo") { # ERROR
        test_fail
 }
 else {