Skip to content

Commit

Permalink
add test for known vendor and unknown attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Nov 25, 2024
1 parent 6c3eeb9 commit da933f4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/tests/unit/protocols/radius/vendor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,15 @@ match f1 0b 1a 00 00 19 7f 26 ab cd ef
decode-pair -
match Extended-Attribute-1 = { Extended-Vendor-Specific-1 = { Nokia-SR = { raw.38 = 0xabcdef } } }

#
# Known vendor, unknown attribute. Microsoft will never add more RADIUS attributes to
# their dictionary, so we use that here.
#
encode-pair Vendor-Specific = { Microsoft = { raw.200 = 0xabcdef } }
match 1a 0b 00 00 01 37 c8 05 ab cd ef

decode-pair -
match Vendor-Specific = { Microsoft = { raw.200 = 0xabcdef } }

count
match 74
match 78

0 comments on commit da933f4

Please sign in to comment.