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

Wireshark-dev: [Wireshark-dev] small typo fix in smb2 dissector

From: "Stefan (metze) Metzmacher" <metze@xxxxxxxxx>
Date: Wed, 28 Jun 2006 15:49:45 +0200
Hi *,

could anyone apply this little fix for me?

thanks!

metze
Index: epan/dissectors/packet-smb2.c
===================================================================
--- epan/dissectors/packet-smb2.c	(Revision 18591)
+++ epan/dissectors/packet-smb2.c	(Arbeitskopie)
@@ -2239,8 +2239,8 @@
 		 */
 		if (check_col(pinfo->cinfo, COL_INFO)){
 			col_append_fstr(pinfo->cinfo, COL_INFO, " %s/%s",
-				val_to_str(cl, smb2_class_vals, "(Class:0x%08x)"),
-				val_to_str(il, vs, "(Level:0x%08x)"));
+				val_to_str(cl, smb2_class_vals, "(Class:0x%02x)"),
+				val_to_str(il, vs, "(Level:0x%02x)"));
 		}
 	}
 

Attachment: signature.asc
Description: OpenPGP digital signature