]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
these are arrays of string/octet, prefixed with a 16-bit length
authorAlan T. DeKok <aland@freeradius.org>
Fri, 4 Mar 2022 20:03:40 +0000 (15:03 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 4 Mar 2022 20:38:43 +0000 (15:38 -0500)
the use of the "array" flag causes the DHCPv6 encoder to automatically
prefix the variable length strings with a 16-bit length.  But it
doesn't hurt to have this information explicit in the dictionaries too

share/dictionary/dhcpv6/dictionary.rfc3315

index 8ed32523caa2ec3a3629be4ab2f4f016644e19d9..a5c9c36e1d620259a16ea2717eab249bf0f58012 100644 (file)
@@ -122,10 +122,10 @@ VALUE     Value                           ExcessiveTimeSkew       22
 MEMBER         Message                                 string
 
 ATTRIBUTE      Rapid-Commit                            14      bool
-ATTRIBUTE      User-Class                              15      octets array
+ATTRIBUTE      User-Class                              15      octets length=uint16,array
 ATTRIBUTE      Vendor-Class                            16      struct
 MEMBER         PEN                                     uint32
-MEMBER         Data                                    octets array
+MEMBER         Data                                    octets length=uint16,array
 
 ATTRIBUTE      Vendor-Opts                             17      vsa
 ATTRIBUTE      Interface-ID                            18      octets