Wireshark mailing list archives

Re: [PATCH] wireshark:decode GETDEVINFO error when using pnfs-block


From: Jaap Keuter <jaap.keuter () xs4all nl>
Date: Wed, 13 Mar 2013 07:43:51 +0100

Hi,

I think this has a good chance of getting merged, but it's preferred to have
patches submitted as enhancement bugs through bugs.wireshark.org. In this way
discussion on the bug stays grouped, won't get lost in the backlog of a mailing
list, sample captures (do you have one?) can be harvested for tests, etc.

Thanks,
Jaap


On 03/13/2013 03:37 AM, fanchaoting wrote:
now when using pnfs block, if recieve a GETDEVINFO packet, the wireshark
decode this packect error, because GETDEVINFO(block-layout) is Different from 
GETDEVINFO(file-layout). the wireshark now only can decode GETDEVINFO(file-layout).
but when recieve GETDEVINFO(block-layout), it decode error.

 Signed-off-by: fanchaoting<fanchaoting () cn fujitsu com>

---

diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index 77b6db5..35b5926 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -407,6 +407,15 @@ static int hf_nfs_op_mask = -1;

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: