aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ndmp.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-ndmp.c
parent039fc59cb110aa485e910583d1edd5ff81ca2168 (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-ndmp.c')
-rw-r--r--epan/dissectors/packet-ndmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ndmp.c b/epan/dissectors/packet-ndmp.c
index 01468c94c4..7e78d4b8a6 100644
--- a/epan/dissectors/packet-ndmp.c
+++ b/epan/dissectors/packet-ndmp.c
@@ -791,7 +791,7 @@ dissect_auth_attr_msg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
break;
case NDMP_AUTH_MD5:
proto_tree_add_item(tree, hf_ndmp_auth_challenge,
- tvb, offset, 64, FALSE);
+ tvb, offset, 64, ENC_NA);
offset+=64;
}
@@ -2279,7 +2279,7 @@ dissect_auth_data(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
/* digest */
proto_tree_add_item(tree, hf_ndmp_auth_digest,
- tvb, offset, 16, FALSE);
+ tvb, offset, 16, ENC_NA);
offset+=16;
}
@@ -3004,7 +3004,7 @@ dissect_ndmp_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *p
if (parent_tree) {
item = proto_tree_add_item(parent_tree, hf_ndmp_header, tvb,
- offset, 24, FALSE);
+ offset, 24, ENC_NA);
tree = proto_item_add_subtree(item, ett_ndmp_header);
}