diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-07-19 10:51:12 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-07-19 10:51:12 +0000 |
commit | f282154ab0134ac71a55c05560a96c02c079158b (patch) | |
tree | 1dc40a0b549031fb78f37dca8dce8a0dff23cd61 /asn1/p1/p1.cnf | |
parent | 93abdd9804d3de8b17a437be0a4a079a566f9485 (diff) |
Use correct encoding for proto_tree_add_item().
svn path=/trunk/; revision=38107
Diffstat (limited to 'asn1/p1/p1.cnf')
-rw-r--r-- | asn1/p1/p1.cnf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/p1/p1.cnf b/asn1/p1/p1.cnf index 91410fa1a6..58465461ec 100644 --- a/asn1/p1/p1.cnf +++ b/asn1/p1/p1.cnf @@ -521,7 +521,7 @@ MessageToken B "2.6.1.7.36" "id-hat-forwarded-token" 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\".)"); @@ -1259,7 +1259,7 @@ MessageToken B "2.6.1.7.36" "id-hat-forwarded-token" (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); |