[Ocfs2-tools-devel] [PATCH 5/5] wireshark-ocfs2: fix "Sys Status" return its numeric value only v2

Sunil Mushran sunil.mushran at oracle.com
Tue Aug 18 11:02:40 PDT 2009


Checked in.

Jeff Liu wrote:
> the interpretation of "Sys Status" (DLM_NORMAL) is incorrect, it is the o2net status instead of dlm,
> here just print the numeric value, we can expend on the laster if needed
>
> Signed-off-by: Jeff Liu <jeff.liu at oracle.com>
> ---
>  epan/dissectors/packet-ocfs2.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/epan/dissectors/packet-ocfs2.c b/epan/dissectors/packet-ocfs2.c
> index aed4a32..6cd1a33 100644
> --- a/epan/dissectors/packet-ocfs2.c
> +++ b/epan/dissectors/packet-ocfs2.c
> @@ -1465,7 +1465,7 @@ void proto_register_ocfs2(void)
>  					FT_UINT16, BASE_DEC, VALS(dlm_magic), 0x0,
>  					"Message type", HFILL } },
>  		{ &hf_msg_sys_status, { "Sys Status",	"ocfs2.msg.sys_status",
> -					FT_UINT32, BASE_DEC, VALS(dlm_errnames), 0x0,
> +					FT_UINT32, BASE_DEC, NULL, 0x0,
>  					"System level status return code", HFILL } },
>  		{ &hf_msg_status, { "Status", "ocfs2.msg.status",
>  					FT_UINT32, BASE_DEC, NULL, 0x0,
>   




More information about the Ocfs2-tools-devel mailing list