summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-05-31 01:18:22 -0700
committerGuy Harris <guy@alum.mit.edu>2017-05-31 08:19:45 +0000
commitbb5b0fbc6c6b43de8f7440efe2f2fa8546576b38 (patch)
tree35c0f7f67986075a72a03ed1cbbdd8eac0bd90d0
parent012f6574520f43aa0317e71efd8beff621ba28d2 (diff)
downloadwireshark-bb5b0fbc6c6b43de8f7440efe2f2fa8546576b38.tar.gz
Give more information in a comment.
Change-Id: I43efd124bc49bc3d1261bd690ce38c5debb94e45 Reviewed-on: https://code.wireshark.org/review/21852 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--epan/radius_dict.l9
1 files changed, 7 insertions, 2 deletions
diff --git a/epan/radius_dict.l b/epan/radius_dict.l
index 75553dff6d..39b7796fa1 100644
--- a/epan/radius_dict.l
+++ b/epan/radius_dict.l
@@ -295,8 +295,13 @@ static void add_value(Radius_scanner_state_t* state, const gchar* attrib_name, c
<ATTR_W_TYPE>[0-9a-z_-]+=([^\n]*) ;
<ATTR_W_TYPE>[0-9a-z_-]+ {
/*
- * Support for "ATTRIBUTE name number type [vendor|options]", it marks
- * this as vendor-specific attribute (VSA), but this notation is deprecated
+ * Support for "ATTRIBUTE name oid type vendor", where the token
+ * following the type matches neither has_tag nor encrypt={1,2,3},
+ * but is a sequence of digits, lower-case letters, underscores,
+ * and hyphens.
+ *
+ * We mark this as a vendor-specific attribute (VSA), with the token
+ * following the type being the vendor name; this notation is deprecated
* in favor of BEGIN-VENDOR/END-VENDOR blocks.
*/
gboolean attribute_ok;