Use ENC_NA as encoding for FT_PROTOCOL, FT_NONE and FT_BYTES.
[obnox/wireshark/wip.git] / asn1 / ftam / packet-ftam-template.c
index b825ff7a25959fd1f924b39ef54ba80ada42e8a5..73b22c52201f50c8cf19312cd622fd54aaa14bf8 100644 (file)
@@ -77,7 +77,7 @@ dissect_ftam_unstructured_text(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
 static void
 dissect_ftam_unstructured_binary(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_tree)
 {
-       proto_tree_add_item (parent_tree, hf_ftam_unstructured_binary, tvb, 0, tvb_length_remaining(tvb, 0), ENC_BIG_ENDIAN); 
+       proto_tree_add_item (parent_tree, hf_ftam_unstructured_binary, tvb, 0, tvb_length_remaining(tvb, 0), ENC_NA); 
 }
 
 /*
@@ -95,7 +95,7 @@ dissect_ftam(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
        asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
 
        if(parent_tree){
-               item = proto_tree_add_item(parent_tree, proto_ftam, tvb, 0, -1, ENC_BIG_ENDIAN);
+               item = proto_tree_add_item(parent_tree, proto_ftam, tvb, 0, -1, ENC_NA);
                tree = proto_item_add_subtree(item, ett_ftam);
        }
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "FTAM");