summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2017-01-23 14:15:19 -0600
committerAnders Broman <a.broman58@gmail.com>2017-01-24 13:58:51 +0000
commit87f24a78e62431bbe0e22c1e7f42e1e94c1d79b0 (patch)
tree9a07d7f34541b2757e4174b0ceaadf77a3d3445f
parent68fd576529f6d4804b22fe18f59bb1f411fe8cea (diff)
downloadwireshark-87f24a78e62431bbe0e22c1e7f42e1e94c1d79b0.tar.gz
RTPS: updated ContentFilterProperty field names to match the spec
Change-Id: I17a8b51dbcb502624a83177135b31fdbe72fa118 Reviewed-on: https://code.wireshark.org/review/19753 Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-rtps.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c
index e3dbf94f07..afa9582424 100644
--- a/epan/dissectors/packet-rtps.c
+++ b/epan/dissectors/packet-rtps.c
@@ -139,9 +139,9 @@ static int hf_rtps_param_type_name = -1;
static int hf_rtps_param_user_data = -1;
static int hf_rtps_param_group_data = -1;
static int hf_rtps_param_topic_data = -1;
-static int hf_rtps_param_content_filter_name = -1;
+static int hf_rtps_param_content_filter_topic_name = -1;
static int hf_rtps_param_related_topic_name = -1;
-static int hf_rtps_param_filter_name = -1;
+static int hf_rtps_param_filter_class_name = -1;
static int hf_rtps_issue_data = -1;
static int hf_rtps_durability_service_cleanup_delay = -1;
static int hf_rtps_liveliness_lease_duration = -1;
@@ -236,8 +236,8 @@ static int hf_rtps_bitmap_num_bits = -1;
static int hf_rtps_param_partition_num = -1;
static int hf_rtps_param_partition = -1;
static int hf_rtps_param_filter_expression = -1;
-static int hf_rtps_param_filter_parameters_num = -1;
-static int hf_rtps_param_filter_parameters = -1;
+static int hf_rtps_param_expression_parameters_num = -1;
+static int hf_rtps_param_expression_parameters = -1;
static int hf_rtps_locator_filter_list_num_channels = -1;
static int hf_rtps_locator_filter_list_filter_name = -1;
static int hf_rtps_locator_filter_list_filter_exp = -1;
@@ -5199,11 +5199,11 @@ static gboolean dissect_parameter_sequence_v1(proto_tree *rtps_parameter_tree, p
* | ... |
* +---------------+---------------+---------------+---------------+
*
- * String1: ContentFilterName
+ * String1: ContentFilterTopicName
* String2: RelatedTopicName
- * String3: FilterName
+ * String3: FilterClassName
* String4: FilterExpression
- * FilterParameters: sequence of Strings
+ * ExpressionParameters: sequence of Strings
*
* Note: those strings starts all to a word-aligned (4 bytes) offset
*/
@@ -5211,16 +5211,16 @@ static gboolean dissect_parameter_sequence_v1(proto_tree *rtps_parameter_tree, p
guint32 temp_offset = offset;
ENSURE_LENGTH(20);
temp_offset = rtps_util_add_string(rtps_parameter_tree, tvb, temp_offset,
- hf_rtps_param_content_filter_name, encoding);
+ hf_rtps_param_content_filter_topic_name, encoding);
temp_offset = rtps_util_add_string(rtps_parameter_tree, tvb, temp_offset,
hf_rtps_param_related_topic_name, encoding);
temp_offset = rtps_util_add_string(rtps_parameter_tree, tvb, temp_offset,
- hf_rtps_param_filter_name, encoding);
+ hf_rtps_param_filter_class_name, encoding);
temp_offset = rtps_util_add_string(rtps_parameter_tree, tvb, temp_offset,
hf_rtps_param_filter_expression, encoding);
/*temp_offset = */rtps_util_add_seq_string(rtps_parameter_tree, tvb, temp_offset,
- encoding, param_length, hf_rtps_param_filter_parameters_num,
- hf_rtps_param_filter_parameters, "filterParameters");
+ encoding, param_length, hf_rtps_param_expression_parameters_num,
+ hf_rtps_param_expression_parameters, "expressionParameters");
break;
}
@@ -10123,14 +10123,14 @@ void proto_register_rtps(void) {
/* Parameter / Content Filter Name ------------------------------------- */
- { &hf_rtps_param_content_filter_name, {
- "contentFilterName",
- "rtps.param.contentFilterName",
+ { &hf_rtps_param_content_filter_topic_name, {
+ "contentFilterTopicName",
+ "rtps.param.contentFilterTopicName",
FT_STRINGZ,
BASE_NONE,
NULL,
0,
- "Value of the content filter name as sent in a PID_CONTENT_FILTER_PROPERTY parameter",
+ "Value of the content filter topic name as sent in a PID_CONTENT_FILTER_PROPERTY parameter",
HFILL }
},
{ &hf_rtps_param_related_topic_name, {
@@ -10143,14 +10143,14 @@ void proto_register_rtps(void) {
"Value of the related topic name as sent in a PID_CONTENT_FILTER_PROPERTY parameter",
HFILL }
},
- { &hf_rtps_param_filter_name, {
- "filterName",
- "rtps.param.filterName",
+ { &hf_rtps_param_filter_class_name, {
+ "filterClassName",
+ "rtps.param.filterClassName",
FT_STRINGZ,
BASE_NONE,
NULL,
0,
- "Value of the filter name as sent in a PID_CONTENT_FILTER_PROPERTY parameter",
+ "Value of the filter class name as sent in a PID_CONTENT_FILTER_PROPERTY parameter",
HFILL }
},
@@ -10830,8 +10830,8 @@ void proto_register_rtps(void) {
NULL, HFILL }
},
- { &hf_rtps_param_filter_parameters_num,
- { "Size", "rtps.param.filter_parameters_num",
+ { &hf_rtps_param_expression_parameters_num,
+ { "Number of expression params", "rtps.param.expression_parameters_num",
FT_INT32, BASE_DEC, NULL, 0,
NULL, HFILL }
},
@@ -10848,8 +10848,8 @@ void proto_register_rtps(void) {
NULL, HFILL }
},
- { &hf_rtps_param_filter_parameters,
- { "filterParameters", "rtps.param.filter_parameters",
+ { &hf_rtps_param_expression_parameters,
+ { "expressionParameters", "rtps.param.expression_parameters",
FT_STRING, BASE_NONE, NULL, 0,
NULL, HFILL }
},