[PATCH 03/12] fixed get_device_list according draft >= 19
Tigran Mkrtchyan
tigran.mkrtchyan at desy.de
Sat May 24 16:54:01 EDT 2008
---
epan/dissectors/packet-nfs.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index a816f55..da7f994 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -7812,20 +7812,9 @@ dissect_nfs_devicelist4(tvbuff_t *tvb, int offset, proto_tree *tree)
count = tvb_get_ntohl(tvb, offset);
offset = dissect_rpc_uint32(tvb, tree, hf_nfs_devicenum4, offset);
for (i = 0; i < count; i++) {
- int opaque_devs, dev_limit;
offset = dissect_rpc_opaque_data(tvb, offset, tree, NULL,
hf_nfs_deviceid4, TRUE, 16,
FALSE, NULL, NULL);
-
-
- offset = dissect_rpc_uint32(tvb, tree, hf_nfs_layouttype4, offset);
-
- opaque_devs = tvb_get_ntohl(tvb, offset);
- offset += 4;
- dev_limit = opaque_devs + offset;
- while (offset < dev_limit) {
- offset = dissect_nfs_devices4(tvb, offset, tree);
- }
}
return offset;
}
--
1.5.5.1.211.g65ea3
--------------010504080207030209060809
Content-Type: text/x-patch;
name="0004-fixed-device_addr4-decoding-according-draft-19.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="0004-fixed-device_addr4-decoding-according-draft-19.patch"
More information about the pNFS
mailing list