From: Alan T. DeKok Date: Fri, 8 May 2020 14:09:33 +0000 (-0400) Subject: decode attributes for unknown vendors X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5152e544a291bb25f8745bbd82ccc3ebd5fdf90;p=thirdparty%2Ffreeradius-server.git decode attributes for unknown vendors the code was there, but no test case --- diff --git a/src/tests/unit/protocols/radius/vendor.txt b/src/tests/unit/protocols/radius/vendor.txt index 5f20277813f..a75f96c43ee 100644 --- a/src/tests/unit/protocols/radius/vendor.txt +++ b/src/tests/unit/protocols/radius/vendor.txt @@ -59,5 +59,11 @@ match ERX-LI-Action = off #decode-pair - #data ERX-LI-Action = off +# +# Unknown vendors get decoded as TLVs with type=1,length=1 +# +decode-pair 1a12000080000105abcdef02076161616161 +match Attr-26.32768.1 = 0xabcdef, Attr-26.32768.2 = 0x6161616161 + count match 35