aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb2.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-04 22:44:31 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-04 22:44:31 +0000
commit94f36ca4ff177617fcc4e4ca8a171e374f8aeff6 (patch)
tree060bfcfb238455d21752efec8612998f2ab1db6f /epan/dissectors/packet-smb2.c
parent039fc59cb110aa485e910583d1edd5ff81ca2168 (diff)
downloadwireshark-94f36ca4ff177617fcc4e4ca8a171e374f8aeff6.tar.gz
wireshark-94f36ca4ff177617fcc4e4ca8a171e374f8aeff6.tar.bz2
wireshark-94f36ca4ff177617fcc4e4ca8a171e374f8aeff6.zip
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-smb2.c')
-rw-r--r--epan/dissectors/packet-smb2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb2.c b/epan/dissectors/packet-smb2.c
index c589c1d879..1b5c57526f 100644
--- a/epan/dissectors/packet-smb2.c
+++ b/epan/dissectors/packet-smb2.c
@@ -4642,7 +4642,7 @@ dissect_smb2_QFid_buffer_response(tvbuff_t *tvb, packet_info *pinfo _U_, proto_t
sub_tree = proto_item_add_subtree(sub_item, ett_smb2_QFid_buffer);
}
- proto_tree_add_item(sub_tree, hf_smb2_qfid_fid, tvb, offset, 32, FALSE);
+ proto_tree_add_item(sub_tree, hf_smb2_qfid_fid, tvb, offset, 32, ENC_NA);
}
static void
@@ -6340,7 +6340,7 @@ dissect_smb2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, gboolea
offset = dissect_smb2_tid_sesid(pinfo, header_tree, tvb, offset, si);
/* Signature */
- proto_tree_add_item(header_tree, hf_smb2_signature, tvb, offset, 16, FALSE);
+ proto_tree_add_item(header_tree, hf_smb2_signature, tvb, offset, 16, ENC_NA);
offset += 16;
proto_item_set_len(header_item, offset);