Use ENC_NA as encoding for FT_PROTOCOL, FT_NONE and FT_BYTES.
[obnox/wireshark/wip.git] / asn1 / ros / packet-ros-template.c
index 2cb1068231cf480588b576e44e17c1b9e0990e2a..58337ca866bc316937b9b62a017f2ef86df261e1 100644 (file)
@@ -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");