aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rtp.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-06-14 22:34:39 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-06-14 22:34:39 +0000
commit638a4b9c938608dfe342d7f53deb70d8d031e1e1 (patch)
tree17dc95798b3db0f28e9caab500a9c9f7a19dc270 /packet-rtp.c
parent80a7d8fdf6addd921061a342926f52f31069030c (diff)
Bug fix from Francisco Javier Cabello.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3549 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rtp.c')
-rw-r--r--packet-rtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-rtp.c b/packet-rtp.c
index 25abc599f9..d9af6fae1f 100644
--- a/packet-rtp.c
+++ b/packet-rtp.c
@@ -6,7 +6,7 @@
* Copyright 2000, Philips Electronics N.V.
* Written by Andreas Sikkema <andreas.sikkema@philips.com>
*
- * $Id: packet-rtp.c,v 1.18 2001/06/14 09:34:14 guy Exp $
+ * $Id: packet-rtp.c,v 1.19 2001/06/14 22:34:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -455,6 +455,7 @@ dissect_rtp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
hdr_extension = tvb_get_ntohs( tvb, offset );
proto_tree_add_uint( rtp_tree, hf_rtp_length, tvb,
offset, 2, hdr_extension);
+ offset += 2;
if ( hdr_extension > 0 ) {
ti = proto_tree_add_text(rtp_tree, tvb, offset, csrc_count * 4, "Header extensions");
/* I'm re-using the old tree variable here