RTPS: Now PID_ENTITY_NAME and PID_ROLE_NAME use different filters

Change-Id: I852aa09bff6a37ef03b5f55bdf8933ed181da2d0
Reviewed-on: https://code.wireshark.org/review/14705
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Juanjo Martin 2016-03-22 18:12:03 +01:00 committed by Pascal Quantin
parent b4d16b4495
commit 0e8e4914fa
1 changed files with 10 additions and 2 deletions

View File

@ -193,6 +193,7 @@ static int hf_rtps_param_serialize_encap_len = -1;
static int hf_rtps_param_transport_priority = -1;
static int hf_rtps_param_type_max_size_serialized = -1;
static int hf_rtps_param_entity_name = -1;
static int hf_rtps_param_role_name = -1;
static int hf_rtps_disable_positive_ack = -1;
static int hf_rtps_participant_guid = -1;
static int hf_rtps_group_guid = -1;
@ -3193,7 +3194,7 @@ static gboolean dissect_parameter_sequence_rti(proto_tree *rtps_parameter_tree,
case PID_ROLE_NAME: {
rtps_util_add_string(rtps_parameter_tree, tvb, offset, hf_rtps_param_entity_name, little_endian);
rtps_util_add_string(rtps_parameter_tree, tvb, offset, hf_rtps_param_role_name, little_endian);
break;
}
@ -8972,12 +8973,19 @@ void proto_register_rtps(void) {
},
{ &hf_rtps_param_entity_name,
{ "entity", "rtps.param.entityName",
{ "entityName", "rtps.param.entityName",
FT_STRINGZ, BASE_NONE, NULL, 0,
"String representing the name of the entity addressed by the submessage",
HFILL }
},
{ &hf_rtps_param_role_name,
{ "roleName", "rtps.param.roleName",
FT_STRINGZ, BASE_NONE, NULL, 0,
"String representing the role name of the entity addressed by the submessage",
HFILL }
},
{ &hf_rtps_disable_positive_ack,
{ "disablePositiveAcks", "rtps.disable_positive_ack",
FT_BOOLEAN, 8, TFS(&tfs_true_false), 0,