diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-06-14 22:34:39 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-06-14 22:34:39 +0000 |
commit | 3998e1321d9a2b812f34c49a94a1fd375daf8cc1 (patch) | |
tree | 17dc95798b3db0f28e9caab500a9c9f7a19dc270 /packet-rtp.c | |
parent | fd6901b0c9ec3b29ed22f2bc1f3f65630455daab (diff) | |
download | wireshark-3998e1321d9a2b812f34c49a94a1fd375daf8cc1.tar.gz wireshark-3998e1321d9a2b812f34c49a94a1fd375daf8cc1.tar.bz2 wireshark-3998e1321d9a2b812f34c49a94a1fd375daf8cc1.zip |
Bug fix from Francisco Javier Cabello.
svn path=/trunk/; revision=3549
Diffstat (limited to 'packet-rtp.c')
-rw-r--r-- | packet-rtp.c | 3 |
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 |