]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
We cannot assign hex strings to attributes of type "vsa"
authorAlan T. DeKok <aland@freeradius.org>
Thu, 29 Oct 2020 12:56:35 +0000 (08:56 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 29 Oct 2020 12:56:35 +0000 (08:56 -0400)
Fix the test so that it has the correct error message

src/tests/unit/protocols/radius/vendor.txt

index 488f3e956a370fe96d4c81d0cb220878341b8a9a..a2b8c7605f643556f0603a0cf39202ea7bdcc920 100644 (file)
@@ -31,8 +31,11 @@ match 3Com-User-Access-Level = 3Com-Visitor, 3Com-Ip-Host-Addr = "155.4.12.100 0
 decode-pair 1a 2c 00 00 00 2b 01 06 00 00 00 00 3c 20 31 35 35 2e 34 2e 31 32 2e 31 30 30 20 30 30 3a 30 30 3a 30 30 3a 30 30 3a 30 30 3a 30 30
 match 3Com-User-Access-Level = 3Com-Visitor, 3Com-Ip-Host-Addr = "155.4.12.100 00:00:00:00:00:00"
 
+#
+#  Vendor-Specific is of type "vsa", and therefore cannot be assigned values.
+#
 encode-pair Vendor-Specific = 0xabcdef
-match Must use 'Attr-26 = ...' instead of 'Vendor-Specific = ...'
+match Attributes of type 'vsa' are not yet supported
 
 encode-pair Attr-26 = 0x00000009abcdef
 match 1a 09 00 00 00 09 ab cd ef