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

Jeff Liu jeff.liu at oracle.com
Fri Aug 14 07:38:57 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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/epan/dissectors/packet-ocfs2.c b/epan/dissectors/packet-ocfs2.c
index ce57c3f..939a42b 100644
--- a/epan/dissectors/packet-ocfs2.c
+++ b/epan/dissectors/packet-ocfs2.c
@@ -1268,8 +1268,8 @@ void proto_register_ocfs2(void)
 		{ &hf_msg_pad1, { "Pad", "ocfs2.msg.pad1",
 					FT_UINT16, BASE_HEX, NULL, 0x0,
 					"Padding", HFILL } },
-		{ &hf_msg_sys_status, { "Sys Status",	"ocfs2.msg.sys_status",
-					FT_UINT32, BASE_DEC, VALS(dlm_errnames), 0x0,
+		{ &hf_msg_sys_status, { "Sys Status", "ocfs2.msg.sys_status",
+					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