diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-12-12 06:59:24 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-12-12 06:59:24 +0000 |
commit | 1c5adc4b08ad278692b6dfc515375283da3b9f45 (patch) | |
tree | 84652f7e7d2e63a98c7f2c8c4d9b5ffb227e2d96 /packet-who.c | |
parent | d85f804b4b6ced4271ae4ec9b6f46728a4388266 (diff) |
Highlight the hex dump at the correct offset for Who utmp Entry
structs.
svn path=/trunk/; revision=1298
Diffstat (limited to 'packet-who.c')
-rw-r--r-- | packet-who.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-who.c b/packet-who.c index bc15aa5dcc..9dfad08f12 100644 --- a/packet-who.c +++ b/packet-who.c @@ -2,7 +2,7 @@ * Routines for who protocol (see man rwhod) * Gilbert Ramirez <gram@xiexie.org> * - * $Id: packet-who.c,v 1.1 1999/12/12 05:11:45 gram Exp $ + * $Id: packet-who.c,v 1.2 1999/12/12 06:59:24 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -202,7 +202,7 @@ dissect_whoent(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) memcpy(out_line, &pd[line_offset], 8); memcpy(out_name, &pd[line_offset+8], 8); - whoent_ti = proto_tree_add_item(tree, hf_who_whoent, offset, SIZE_OF_WHOENT, NULL); + whoent_ti = proto_tree_add_item(tree, hf_who_whoent, line_offset, SIZE_OF_WHOENT, NULL); whoent_tree = proto_item_add_subtree(whoent_ti, ett_whoent); proto_tree_add_item(whoent_tree, hf_who_tty, line_offset, 8, out_line); |