Ethereal-dev: [Ethereal-dev] PATCH: IAX2 destination call number field for retried packets

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

From: Alastair Maw <ethereal@xxxxxxxxx>
Date: Wed, 18 Feb 2004 13:52:30 +0000
Attached is another small patch for IAX2. One doesn't see packet retries under normal circumstances, which is why this slipped under my radar.

Regards,

Alastair

--
Alastair Maw
Systems Analyst
http://www.mxtelecom.com
Index: packet-iax2.c
===================================================================
RCS file: /cvsroot/ethereal/packet-iax2.c,v
retrieving revision 1.4
diff -u -r1.4 packet-iax2.c
--- packet-iax2.c	13 Feb 2004 19:15:38 -0000	1.4
+++ packet-iax2.c	18 Feb 2004 13:51:50 -0000
@@ -241,6 +241,7 @@
        */
       dcallno = tvb_get_ntohs(tvb, offset + 2);
       retransmission = dcallno & 0x8000;
+      dcallno = dcallno & 0x7FFF;
       proto_tree_add_uint (iax2_tree, hf_iax2_dcallno, tvb, offset + 2, 2,
 			   dcallno);
       proto_tree_add_boolean (iax2_tree, hf_iax2_retransmission, tvb,