aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fcdns.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-05 00:25:09 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-05 00:25:09 +0000
commit799578fb29a901adef58f6792b01c3e580fb577a (patch)
treed76c0ced7ac166a624bba184ac8ac32285207a95 /epan/dissectors/packet-fcdns.c
parent94f36ca4ff177617fcc4e4ca8a171e374f8aeff6 (diff)
Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an hf item with types in hf[] of:
FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID svn path=/trunk/; revision=39261
Diffstat (limited to 'epan/dissectors/packet-fcdns.c')
-rw-r--r--epan/dissectors/packet-fcdns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-fcdns.c b/epan/dissectors/packet-fcdns.c
index b790f78963..3e57a84137 100644
--- a/epan/dissectors/packet-fcdns.c
+++ b/epan/dissectors/packet-fcdns.c
@@ -478,7 +478,7 @@ dissect_fcdns_ganxt (tvbuff_t *tvb, proto_tree *req_tree, gboolean isreq)
}
if (tvb_offset_exists (tvb, 556)) {
proto_tree_add_item (req_tree, hf_fcdns_rply_ipa, tvb,
- offset+532, 8, 0);
+ offset+532, 8, ENC_NA);
}
if (tvb_offset_exists (tvb, 572)) {
proto_tree_add_item (req_tree, hf_fcdns_rply_ipnode, tvb,
@@ -643,7 +643,7 @@ dissect_fcdns_gfdid (tvbuff_t *tvb, proto_tree *req_tree, gboolean isreq)
* to track the display by the length field */
desclen = tvb_get_guint8 (tvb, offset);
proto_tree_add_item (req_tree, hf_fcdns_rply_fc4desc, tvb,
- offset, desclen, 0);
+ offset, desclen, ENC_NA);
tot_len -= 255; /* descriptors are aligned to 255 bytes */
offset += 256;
}
@@ -1241,7 +1241,7 @@ dissect_fcdns_swils_entries (tvbuff_t *tvb, proto_tree *tree, int offset)
offset+1, len, 0);
offset += 256;
}
- proto_tree_add_item (tree, hf_fcdns_rply_ipa, tvb, offset, 8, 0);
+ proto_tree_add_item (tree, hf_fcdns_rply_ipa, tvb, offset, 8, ENC_NA);
proto_tree_add_item (tree, hf_fcdns_rply_ipnode, tvb, offset+8, 16,
0);
dissect_cos_flags(tree, tvb, offset+24, hf_fcdns_reply_cos);
@@ -1264,7 +1264,7 @@ dissect_fcdns_swils_entries (tvbuff_t *tvb, proto_tree *tree, int offset)
proto_tree_add_item (tree, hf_fcdns_rply_fc4desclen, tvb,
offset+132, 1, 0);
proto_tree_add_item (tree, hf_fcdns_rply_fc4desc, tvb,
- offset+133, len, 0);
+ offset+133, len, ENC_NA);
}
else {
proto_tree_add_item (tree, hf_fcdns_num_fc4desc, tvb,