ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [PATCH] wireshark:decode GETDEVINFO error when using pnfs-bl

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
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@xxxxxxxxxxxxxx>
> 
> ---
> 
> 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;