diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-05 00:25:09 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-05 00:25:09 +0000 |
commit | 799578fb29a901adef58f6792b01c3e580fb577a (patch) | |
tree | d76c0ced7ac166a624bba184ac8ac32285207a95 /epan/dissectors/packet-fcp.c | |
parent | 94f36ca4ff177617fcc4e4ca8a171e374f8aeff6 (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-fcp.c')
-rw-r--r-- | epan/dissectors/packet-fcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-fcp.c b/epan/dissectors/packet-fcp.c index 2aa2a1507d..66db2ed914 100644 --- a/epan/dissectors/packet-fcp.c +++ b/epan/dissectors/packet-fcp.c @@ -413,7 +413,7 @@ dissect_fcp_cmnd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, pro * real single-level LUN, all 8 bytes except byte 1 must be 0. */ if (lun0) { - proto_tree_add_item(tree, hf_fcp_multilun, tvb, offset, 8, 0); + proto_tree_add_item(tree, hf_fcp_multilun, tvb, offset, 8, ENC_NA); lun=tvb_get_guint8(tvb, offset)&0x3f; lun<<=8; lun|=tvb_get_guint8(tvb, offset+1); |