From 30667cbc9f170a0a92231646a12e55751ee35268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Wed, 18 Feb 2004 14:30:45 +0000 Subject: Alastair Maw: Fix retransmissions svn path=/trunk/; revision=10095 --- packet-iax2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packet-iax2.c b/packet-iax2.c index acdc0a8050..7cc67aeb18 100644 --- a/packet-iax2.c +++ b/packet-iax2.c @@ -8,7 +8,7 @@ * IAX2 is a VoIP protocol for the open source PBX Asterisk. Please see * http://www.asterisk.org for more information. * - * $Id: packet-iax2.c,v 1.4 2004/02/13 19:15:38 guy Exp $ + * $Id: packet-iax2.c,v 1.5 2004/02/18 14:30:45 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -241,6 +241,7 @@ dissect_iax2 (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) */ 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, -- cgit v1.2.3