aboutsummaryrefslogtreecommitdiffstats
path: root/packet.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-12-29 07:37:12 +0000
committerGuy Harris <guy@alum.mit.edu>1999-12-29 07:37:12 +0000
commit03f0d99a70e4fa06113f2747c939eed09943bf84 (patch)
tree37bd36346e34f5e7ed9c2b1871ed81257c7a874a /packet.c
parentde00c78ac8401d54a07010ad5fd5990f3fd34dd7 (diff)
Put the frame number in the text for the top-level tree entry for the
frame. svn path=/trunk/; revision=1389
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index 500fbf97e0..0a6dcdf405 100644
--- a/packet.c
+++ b/packet.c
@@ -1,7 +1,7 @@
/* packet.c
* Routines for packet disassembly
*
- * $Id: packet.c,v 1.61 1999/12/29 07:25:48 guy Exp $
+ * $Id: packet.c,v 1.62 1999/12/29 07:37:12 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1063,7 +1063,8 @@ dissect_packet(const u_char *pd, frame_data *fd, proto_tree *tree)
/* Put in frame header information. */
if (tree) {
ti = proto_tree_add_item_format(tree, proto_frame, 0, fd->cap_len,
- NULL, "Frame (%d on wire, %d captured)", fd->pkt_len, fd->cap_len);
+ NULL, "Frame %u (%u on wire, %u captured)", fd->num,
+ fd->pkt_len, fd->cap_len);
fh_tree = proto_item_add_subtree(ti, ett_frame);