forked from osmocom/wireshark
dis: proto_tree_add_bitmask return a item (and not a tree)
(item and tree is the same but avoid mistake) Ping-Bug: 13917 Change-Id: Ica5cc1b62aa8d359aea19a8292bfcd2cc5c4ae9b Reviewed-on: https://code.wireshark.org/review/22819 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
82e2ad37a0
commit
a4788324cb
|
@ -5212,7 +5212,7 @@ static int dissect_DIS_PARSER_ENTITY_STATE_PDU(tvbuff_t *tvb, packet_info *pinfo
|
|||
NULL
|
||||
};
|
||||
|
||||
sub_tree = proto_tree_add_bitmask(tree, tvb, offset, hf_entity_appearance, ett_entity_appearance, entity_appearance_domain_land_bitmask, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_bitmask(tree, tvb, offset, hf_entity_appearance, ett_entity_appearance, entity_appearance_domain_land_bitmask, ENC_BIG_ENDIAN);
|
||||
}
|
||||
else if (entityKind == DIS_ENTITYKIND_LIFE_FORM)
|
||||
{
|
||||
|
@ -5233,7 +5233,7 @@ static int dissect_DIS_PARSER_ENTITY_STATE_PDU(tvbuff_t *tvb, packet_info *pinfo
|
|||
NULL
|
||||
};
|
||||
|
||||
sub_tree = proto_tree_add_bitmask(tree, tvb, offset, hf_entity_appearance, ett_entity_appearance, entity_appearance_kind_life_form_bitmask, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_bitmask(tree, tvb, offset, hf_entity_appearance, ett_entity_appearance, entity_appearance_kind_life_form_bitmask, ENC_BIG_ENDIAN);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue