[PATCH 03/13] fixed get_device_list according draft >= 19
Tigran Mkrtchyan
tigran.mkrtchyan at desy.de
Mon Jun 16 15:14:18 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 b055cca..723c4ad 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -7808,20 +7808,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.4.5
--------------090206040200030309000502
Content-Type: text/x-patch;
name="0004-updated-comments-for-dissect_nfs_deviceaddr4.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="0004-updated-comments-for-dissect_nfs_deviceaddr4.patch"
More information about the pNFS
mailing list