diff options
author | Jörg Mayer <jmayer@loplof.de> | 2004-02-18 14:30:45 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2004-02-18 14:30:45 +0000 |
commit | 30667cbc9f170a0a92231646a12e55751ee35268 (patch) | |
tree | b272c6dc712ff7638b5a98ba45eeeb4858bcff57 | |
parent | 40ba0d72bc580bd0f9ba908fb3fc93d13558b559 (diff) |
Alastair Maw: Fix retransmissions
svn path=/trunk/; revision=10095
-rw-r--r-- | packet-iax2.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <gerald@ethereal.com> @@ -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, |