aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ros.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-ros.c
parent93abdd9804d3de8b17a437be0a4a079a566f9485 (diff)
Use correct encoding for proto_tree_add_item().
svn path=/trunk/; revision=38107
Diffstat (limited to 'epan/dissectors/packet-ros.c')
-rw-r--r--epan/dissectors/packet-ros.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ros.c b/epan/dissectors/packet-ros.c
index fa69a2e0cf..f8fe11bbd3 100644
--- a/epan/dissectors/packet-ros.c
+++ b/epan/dissectors/packet-ros.c
@@ -203,7 +203,7 @@ static gboolean ros_try_string(const char *oid, tvbuff_t *tvb, packet_info *pinf
if((session != NULL) && ((rinfo = (ros_info_t*)g_hash_table_lookup(protocol_table, oid)) != NULL)) {
if(tree){
- item = proto_tree_add_item(tree, *(rinfo->proto), tvb, 0, -1, FALSE);
+ item = proto_tree_add_item(tree, *(rinfo->proto), tvb, 0, -1, ENC_BIG_ENDIAN);
ros_tree = proto_item_add_subtree(item, *(rinfo->ett_proto));
}
@@ -1066,7 +1066,7 @@ dissect_ros(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
/* pinfo->private_data = ros_info; */
if(parent_tree){
- item = proto_tree_add_item(parent_tree, proto_ros, tvb, 0, -1, FALSE);
+ item = proto_tree_add_item(parent_tree, proto_ros, tvb, 0, -1, ENC_BIG_ENDIAN);
tree = proto_item_add_subtree(item, ett_ros);
}
col_set_str(pinfo->cinfo, COL_PROTOCOL, "ROS");