aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tds.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-28 02:12:26 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-08-28 02:12:26 +0000
commit9660823313765e78fa205faee7d1436487f38fe4 (patch)
treef9655c214d5661007357f43457c5005111949960 /packet-tds.c
parent2c6f9bab6a3b4349c4660413018269399fac0e05 (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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8292 f5534014-38df-0310-8fa8-9805f1628bb7
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);
}