diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-04 22:44:31 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-04 22:44:31 +0000 |
commit | 94f36ca4ff177617fcc4e4ca8a171e374f8aeff6 (patch) | |
tree | 060bfcfb238455d21752efec8612998f2ab1db6f /epan/dissectors/packet-asf.c | |
parent | 039fc59cb110aa485e910583d1edd5ff81ca2168 (diff) |
Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an hf item (in hf[] with types:
FT_NONE
FT_BYTES
FT_IPV6
FT_IPXNET
FT_OID
Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN
svn path=/trunk/; revision=39260
Diffstat (limited to 'epan/dissectors/packet-asf.c')
-rw-r--r-- | epan/dissectors/packet-asf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-asf.c b/epan/dissectors/packet-asf.c index efe6902752..df9f0a9fcf 100644 --- a/epan/dissectors/packet-asf.c +++ b/epan/dissectors/packet-asf.c @@ -251,7 +251,7 @@ dissect_asf_payloads(tvbuff_t *tvb, proto_tree *tree, break; default: proto_tree_add_item(ptree, hf_asf_payload_data, tvb, - offset + 4, plen - 4,ENC_BIG_ENDIAN); + offset + 4, plen - 4,ENC_NA); break; } } @@ -274,7 +274,7 @@ dissect_asf_payload_authentication(tvbuff_t *tvb, proto_tree *tree, val_to_str(alg, asf_authentication_type_vals, "Unknown (%u)")); atree = proto_item_add_subtree(ti, ett_asf_alg_payload); proto_tree_add_item(atree, hf_asf_auth_alg, tvb, offset, 1,ENC_BIG_ENDIAN); - proto_tree_add_item(atree, hf_asf_reserved, tvb, offset + 1, len - 1,ENC_BIG_ENDIAN); + proto_tree_add_item(atree, hf_asf_reserved, tvb, offset + 1, len - 1,ENC_NA); } static void @@ -291,7 +291,7 @@ dissect_asf_payload_integrity(tvbuff_t *tvb, proto_tree *tree, val_to_str(alg, asf_integrity_type_vals, "Unknown (%u)")); atree = proto_item_add_subtree(ti, ett_asf_alg_payload); proto_tree_add_item(atree, hf_asf_integrity_alg, tvb, offset, 1,ENC_BIG_ENDIAN); - proto_tree_add_item(atree, hf_asf_reserved, tvb, offset + 1, len - 1,ENC_BIG_ENDIAN); + proto_tree_add_item(atree, hf_asf_reserved, tvb, offset + 1, len - 1,ENC_NA); } void |