diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-12-29 07:37:12 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-12-29 07:37:12 +0000 |
commit | 03f0d99a70e4fa06113f2747c939eed09943bf84 (patch) | |
tree | 37bd36346e34f5e7ed9c2b1871ed81257c7a874a /packet.c | |
parent | de00c78ac8401d54a07010ad5fd5990f3fd34dd7 (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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |