aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ros
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-07-19 18:48:31 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-07-19 18:48:31 +0000
commitba2aae0f8ed9a5dca35fac352ce5f0b46ba123c5 (patch)
tree424ec0f6f0630e42bdbc2b63091d6804f131da65 /asn1/ros
parent1f497af628d7bac84bd94fff6a4332f477017336 (diff)
Use ENC_NA as encoding for FT_PROTOCOL, FT_NONE and FT_BYTES.
svn path=/trunk/; revision=38122
Diffstat (limited to 'asn1/ros')
-rw-r--r--asn1/ros/packet-ros-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/ros/packet-ros-template.c b/asn1/ros/packet-ros-template.c
index 2cb1068231..58337ca866 100644
--- a/asn1/ros/packet-ros-template.c
+++ b/asn1/ros/packet-ros-template.c
@@ -149,7 +149,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, ENC_BIG_ENDIAN);
+ item = proto_tree_add_item(tree, *(rinfo->proto), tvb, 0, -1, ENC_NA);
ros_tree = proto_item_add_subtree(item, *(rinfo->ett_proto));
}
@@ -421,7 +421,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, ENC_BIG_ENDIAN);
+ item = proto_tree_add_item(parent_tree, proto_ros, tvb, 0, -1, ENC_NA);
tree = proto_item_add_subtree(item, ett_ros);
}
col_set_str(pinfo->cinfo, COL_PROTOCOL, "ROS");