From 5c48051aa3723622efd3c6abaa651f8a36e8dd1b Mon Sep 17 00:00:00 2001 From: wmeier Date: Tue, 4 Oct 2011 22:44:31 +0000 Subject: 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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39260 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-ismp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-ismp.c') diff --git a/epan/dissectors/packet-ismp.c b/epan/dissectors/packet-ismp.c index 12d25086ab..f572bb3d7a 100644 --- a/epan/dissectors/packet-ismp.c +++ b/epan/dissectors/packet-ismp.c @@ -523,7 +523,7 @@ dissect_ismp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) code_length = tvb_get_guint8(tvb, offset); proto_tree_add_item(ismp_tree, hf_ismp_code_length, tvb, offset, 1, FALSE); offset += 1; - proto_tree_add_item(ismp_tree, hf_ismp_auth_data, tvb, offset, code_length, FALSE); + proto_tree_add_item(ismp_tree, hf_ismp_auth_data, tvb, offset, code_length, ENC_NA); offset += code_length; /* if Enterasys Discover Protocol, dissect it */ -- cgit v1.2.3