Ethereal-dev: [Ethereal-dev] Small patch to packet-isup, CIC filter does not work faulty mask

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Anders Broman (EAB)" <anders.broman@xxxxxxxxxxxxxxx>
Date: Thu, 26 Jun 2003 10:32:55 +0200
Hi,
There is a bug in packet-isup.c masking out the second caracter in the
CIC filter.
The msking needed is actually allready made at reading of CIC.
Best Regards
Anders

--- packet-isup.c	2003-06-24 11:00:37.000000000 +0200
+++ packet-isup_new.c	2003-06-26 10:23:42.000000000 +0200
@@ -4169,7 +4169,7 @@
 	static hf_register_info hf[] = {
 		{ &hf_isup_cic,
 			{ "CIC",           "isup.cic",
-			FT_UINT16, BASE_HEX, NULL, 0xFF0F,
+			FT_UINT16, BASE_HEX, NULL, 0x0,
 			  "", HFILL }},
 
 		{ &hf_isup_message_type,