aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-p1.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-07-19 10:51:12 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-07-19 10:51:12 +0000
commitf282154ab0134ac71a55c05560a96c02c079158b (patch)
tree1dc40a0b549031fb78f37dca8dce8a0dff23cd61 /epan/dissectors/packet-p1.c
parent93abdd9804d3de8b17a437be0a4a079a566f9485 (diff)
Use correct encoding for proto_tree_add_item().
svn path=/trunk/; revision=38107
Diffstat (limited to 'epan/dissectors/packet-p1.c')
-rw-r--r--epan/dissectors/packet-p1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-p1.c b/epan/dissectors/packet-p1.c
index 3976f6044e..5288facf71 100644
--- a/epan/dissectors/packet-p1.c
+++ b/epan/dissectors/packet-p1.c
@@ -2729,7 +2729,7 @@ dissect_p1_T_bilateral_information(gboolean implicit_tag _U_, tvbuff_t *tvb _U_,
(void) dissect_ber_length(actx->pinfo, tree, tvb, loffset, &len, NULL);
/* create some structure so we can tell what this unknown ASN.1 represents */
- item = proto_tree_add_item(tree, hf_index, tvb, offset, len, FALSE);
+ item = proto_tree_add_item(tree, hf_index, tvb, offset, len, ENC_BIG_ENDIAN);
tree = proto_item_add_subtree(item, ett_p1_bilateral_information);
offset = dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
@@ -3414,7 +3414,7 @@ dissect_p1_AdditionalInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, i
loffset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, NULL, NULL, NULL);
(void) dissect_ber_length(actx->pinfo, tree, tvb, loffset, &len, NULL);
- item = proto_tree_add_item(tree, hf_index, tvb, offset, len, FALSE);
+ item = proto_tree_add_item(tree, hf_index, tvb, offset, len, ENC_BIG_ENDIAN);
tree = proto_item_add_subtree(item, ett_p1_additional_information);
proto_item_append_text(tree, " (The use of this field is \"strongly deprecated\".)");
@@ -8325,7 +8325,7 @@ dissect_p1_mts_apdu (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
p1_initialize_content_globals (parent_tree, TRUE);
if(parent_tree){
- item = proto_tree_add_item(parent_tree, proto_p1, tvb, 0, -1, FALSE);
+ item = proto_tree_add_item(parent_tree, proto_p1, tvb, 0, -1, ENC_BIG_ENDIAN);
tree = proto_item_add_subtree(item, ett_p1);
}
@@ -8367,7 +8367,7 @@ dissect_p1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
}
if(parent_tree){
- item = proto_tree_add_item(parent_tree, proto_p1, tvb, 0, -1, FALSE);
+ item = proto_tree_add_item(parent_tree, proto_p1, tvb, 0, -1, ENC_BIG_ENDIAN);
tree = proto_item_add_subtree(item, ett_p1);
}
col_set_str(pinfo->cinfo, COL_PROTOCOL, "P1");