NVME-TCP: Fix ICReq fields:

Fix handling of ICReq fields as documented at
https://nvmexpress.org/wp-content/uploads/NVMe-over-Fabrics-1.1-2019.10.22-Ratified.pdf
Section 7.4.10.2   Initialize Connection Request PDU (ICReq)

Bug: 16333
Change-Id: I96d9f05dd7c2c7b0c5a2a70df494cf0b163d10d1
Reviewed-on: https://code.wireshark.org/review/35892
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Uli Heilmeier 2020-01-21 22:06:16 +01:00 committed by Anders Broman
parent adeeb7f2da
commit b0d959eef8
1 changed files with 4 additions and 4 deletions

View File

@ -327,12 +327,12 @@ dissect_nvme_tcp_icreq(tvbuff_t *tvb,
proto_tree_add_item(icreq_tree, hf_nvme_tcp_icreq_pfv, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
proto_tree_add_item(icreq_tree, hf_nvme_tcp_icreq_maxr2t, tvb, offset + 2,
4, ENC_LITTLE_ENDIAN);
proto_tree_add_item(icreq_tree, hf_nvme_tcp_icreq_hpda, tvb, offset + 6, 1,
proto_tree_add_item(icreq_tree, hf_nvme_tcp_icreq_hpda, tvb, offset + 2, 1,
ENC_NA);
proto_tree_add_item(icreq_tree, hf_nvme_tcp_icreq_digest, tvb, offset + 7,
proto_tree_add_item(icreq_tree, hf_nvme_tcp_icreq_digest, tvb, offset + 3,
1, ENC_NA);
proto_tree_add_item(icreq_tree, hf_nvme_tcp_icreq_maxr2t, tvb, offset + 4,
4, ENC_LITTLE_ENDIAN);
}
static void