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

Jeff Liu jeff.liu at oracle.com
Fri Aug 14 20:01:45 PDT 2009


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,
-- 
1.5.4.3




More information about the Ocfs2-tools-devel mailing list