aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rtp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-05-30 01:56:55 +0000
committerGuy Harris <guy@alum.mit.edu>2002-05-30 01:56:55 +0000
commit4401f1433f8b2db82cf199274f96258662d02aeb (patch)
tree2cca921b6de8c3e88c05cc912756ad6380b7643e /packet-rtp.c
parentb5f0786318ecdf66e5eb4683d850595e7364a0d4 (diff)
Don't pass "tvb_reported_length_remaining(tvb, offset)" as the fourth
argument to "tvb_new_subset()" - just use -1 if the subset tvbuff is to run to the end of the parent tvbuff. svn path=/trunk/; revision=5597
Diffstat (limited to 'packet-rtp.c')
-rw-r--r--packet-rtp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-rtp.c b/packet-rtp.c
index 724dec55ef..be37628d79 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.33 2002/01/24 09:20:51 guy Exp $
+ * $Id: packet-rtp.c,v 1.34 2002/05/30 01:56:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -493,7 +493,9 @@ dissect_rtp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
*/
proto_tree_add_text(rtp_tree, tvb, 0, 0,
"Frame has padding, but not all the frame data was captured");
- call_dissector(data_handle,tvb_new_subset(tvb, offset,-1,tvb_reported_length_remaining(tvb,offset)), pinfo, rtp_tree);
+ call_dissector(data_handle,
+ tvb_new_subset(tvb, offset, -1, -1),
+ pinfo, rtp_tree);
return;
}