aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tds.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-28 02:12:26 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-28 02:12:26 +0000
commitada92eb7f4997f28fba71f36677913f59d4cbf9f (patch)
treef9655c214d5661007357f43457c5005111949960 /packet-tds.c
parent4059b02fe949c2cd6bd53441859416c210607355 (diff)
Use "process_reassembled_data()"; this means we get to use common code,
and it means we only dissect the reassembled data for the last frame (so code running through the packet list, and humans clicking on frames, see only one instance of the reassembled data, not multiple instances that might look like retransmissions). svn path=/trunk/; revision=8292
Diffstat (limited to 'packet-tds.c')
-rw-r--r--packet-tds.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/packet-tds.c b/packet-tds.c
index f7030e4dfa..812b52e91e 100644
--- a/packet-tds.c
+++ b/packet-tds.c
@@ -3,7 +3,7 @@
* Copyright 2000-2002, Brian Bruns <camber@ais.org>
* Copyright 2002, Steve Langasek <vorlon@netexpress.net>
*
- * $Id: packet-tds.c,v 1.16 2003/08/27 23:28:37 guy Exp $
+ * $Id: packet-tds.c,v 1.17 2003/08/28 02:12:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1000,17 +1000,9 @@ dissect_netlib_buffer(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
len, status == STATUS_NOT_LAST_BUFFER);
if (fd_head != NULL) {
if (fd_head->next != NULL) {
- next_tvb = tvb_new_real_data(fd_head->data,
- fd_head->len, fd_head->len);
- tvb_set_child_real_data_tvbuff(tvb, next_tvb);
- add_new_data_source(pinfo, next_tvb,
- "Reassembled TDS");
- /* Show all fragments. */
- if (tree) {
- show_fragment_seq_tree(fd_head,
- &tds_frag_items, tds_tree, pinfo,
- next_tvb);
- }
+ next_tvb = process_reassembled_data(tvb,
+ pinfo, "Reassembled TDS", fd_head,
+ &tds_frag_items, NULL, tds_tree);
} else {
next_tvb = tvb_new_subset(tvb, offset, -1, -1);
}