diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-01-03 03:43:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-01-03 03:43:20 +0000 |
commit | 044e7f9875eb7e3ac2cc07f1280ecf27ff4cdd24 (patch) | |
tree | e4928a6fa60125342bd6e86f763e6c2d1c817ec3 /packet-sdp.c | |
parent | 348c38a211523c12637254a56c08f664fdd7823f (diff) |
Process all the data in the packet, regardless of whether it's captured
or not.
svn path=/trunk/; revision=9530
Diffstat (limited to 'packet-sdp.c')
-rw-r--r-- | packet-sdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-sdp.c b/packet-sdp.c index 0a8ef39d95..f1e31fd037 100644 --- a/packet-sdp.c +++ b/packet-sdp.c @@ -4,7 +4,7 @@ * Jason Lango <jal@netapp.com> * Liberally copied from packet-http.c, by Guy Harris <guy@alum.mit.edu> * - * $Id: packet-sdp.c,v 1.41 2004/01/01 21:47:18 guy Exp $ + * $Id: packet-sdp.c,v 1.42 2004/01/03 03:43:20 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -225,7 +225,7 @@ dissect_sdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * Show the SDP message a line at a time. */ in_media_description = FALSE; - while (tvb_offset_exists(tvb, offset)) { + while (tvb_reported_length_remaining(tvb, offset) > 0) { /* * Find the end of the line. */ |