aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-05-14 17:34:51 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-05-14 17:34:51 +0000
commitae82f88d9810fb2f84f879c17119022fd3671e47 (patch)
treeef59f1cee7b196cf3553da5f0e6ca6e6db532f35 /packet-tcp.c
parent276794e038ae925c0a13c03b66f8d0021f109a47 (diff)
add support to link from specially marked fields to related packets,
a doubleclick will follow the link svn path=/trunk/; revision=10897
Diffstat (limited to 'packet-tcp.c')
-rw-r--r--packet-tcp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/packet-tcp.c b/packet-tcp.c
index 72e09a1afa..f67e645dba 100644
--- a/packet-tcp.c
+++ b/packet-tcp.c
@@ -1,7 +1,7 @@
/* packet-tcp.c
* Routines for TCP packet disassembly
*
- * $Id: packet-tcp.c,v 1.233 2004/05/14 15:55:36 ulfl Exp $
+ * $Id: packet-tcp.c,v 1.234 2004/05/14 17:34:51 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1557,6 +1557,7 @@ desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset,
int deseg_offset;
guint32 deseg_seq;
gint nbytes;
+ proto_item *item;
/*
* Initialize these to assume no desegmentation.
@@ -1876,8 +1877,10 @@ desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset,
* We know what frame this PDU is reassembled in;
* let the user know.
*/
- proto_tree_add_uint(tcp_tree, hf_tcp_reassembled_in,
+ item=proto_tree_add_uint(tcp_tree, hf_tcp_reassembled_in,
tvb, 0, 0, ipfd_head->reassembled_in);
+ PROTO_ITEM_SET_GENERATED(item);
+ PROTO_ITEM_SET_LINK(item);
}
/*