RADIUS: Add comment explaining WiMAX non-standard VSA format

Change-Id: I5b3417c94ab10d4ed22258bdb2ef0f670dd2b995
Reviewed-on: https://code.wireshark.org/review/22118
Reviewed-by: João Valverde <j@v6e.pt>
This commit is contained in:
João Valverde 2017-06-14 01:32:37 +01:00 committed by João Valverde
parent 9c86ec08aa
commit d0520f81d1
1 changed files with 14 additions and 0 deletions

View File

@ -1607,6 +1607,20 @@ dissect_attribute_value_pairs(proto_tree *tree, packet_info *pinfo, tvbuff_t *tv
}
if (vendor->has_flags) {
/*
* WiMAX VSA's have a non-standard format:
*
* type 1 octet
* length 1 octet
* continuation 1 octet 0bcrrrrrrr
* value 1+ octets
*
* If the high bit of the "continuation" field is set, then
* the next attribute of the same WiMAX type should have it's
* value concatenated to this one.
*
* See "dictionary.wimax" from FreeRADIUS for details and references.
*/
radius_vsa_buffer_key key;
radius_vsa_buffer *vsa_buffer = NULL;
key.vendor_id = vendor_id;