diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-07-19 18:48:31 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-07-19 18:48:31 +0000 |
commit | ba2aae0f8ed9a5dca35fac352ce5f0b46ba123c5 (patch) | |
tree | 424ec0f6f0630e42bdbc2b63091d6804f131da65 /asn1/ftam | |
parent | 1f497af628d7bac84bd94fff6a4332f477017336 (diff) | |
download | wireshark-ba2aae0f8ed9a5dca35fac352ce5f0b46ba123c5.tar.gz |
Use ENC_NA as encoding for FT_PROTOCOL, FT_NONE and FT_BYTES.
svn path=/trunk/; revision=38122
Diffstat (limited to 'asn1/ftam')
-rw-r--r-- | asn1/ftam/packet-ftam-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/ftam/packet-ftam-template.c b/asn1/ftam/packet-ftam-template.c index b825ff7a25..73b22c5220 100644 --- a/asn1/ftam/packet-ftam-template.c +++ b/asn1/ftam/packet-ftam-template.c @@ -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"); |