diff options
author | Richard Sharpe <sharpe@ns.aus.com> | 2002-05-04 02:54:48 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@ns.aus.com> | 2002-05-04 02:54:48 +0000 |
commit | e626714c31a24176f8891953322412a5b2cb28a9 (patch) | |
tree | 91fafa92feca6f4cb88a1f43635c0429ab0d4233 /packet-tcp.c | |
parent | 71f8208bf93d75b9a592c62ab32ec32d1e501958 (diff) | |
download | wireshark-e626714c31a24176f8891953322412a5b2cb28a9.tar.gz wireshark-e626714c31a24176f8891953322412a5b2cb28a9.tar.bz2 wireshark-e626714c31a24176f8891953322412a5b2cb28a9.zip |
Add the packet len to the protocol tree as well, since it is often not visible in the summary display.
svn path=/trunk/; revision=5379
Diffstat (limited to 'packet-tcp.c')
-rw-r--r-- | packet-tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-tcp.c b/packet-tcp.c index 9f6834ab2b..f3919a74c1 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.138 2002/04/21 02:57:01 sharpe Exp $ + * $Id: packet-tcp.c,v 1.139 2002/05/04 02:54:48 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1036,7 +1036,7 @@ dissect_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { if (tcp_summary_in_tree) - proto_item_append_text(ti, ", Ack: %u", th_ack); + proto_item_append_text(ti, ", Ack: %u, Len: %u", th_ack, seglen); proto_item_set_len(ti, hlen); if (nxtseq != th_seq) proto_tree_add_uint(tcp_tree, hf_tcp_nxtseq, tvb, offset, 0, nxtseq); |