diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-07-07 22:52:57 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-07-07 22:52:57 +0000 |
commit | 6d610d5a736194dc2ba998ca285ed31937b962fa (patch) | |
tree | c720d2a42f11c9d14ac1a161eb785b438c2c4b14 /packet-raw.c | |
parent | be35348d2e6dc8f996c9de344ded516f054a501f (diff) |
Created a new protocol tree implementation and a new display filter
mechanism that is built into ethereal. Wiretap is now used to read all
file formats. Libpcap is used only for capturing.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@342 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-raw.c')
-rw-r--r-- | packet-raw.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packet-raw.c b/packet-raw.c index a9188729c4..f0fab49ab0 100644 --- a/packet-raw.c +++ b/packet-raw.c @@ -1,7 +1,7 @@ /* packet-raw.c * Routines for raw packet disassembly * - * $Id: packet-raw.c,v 1.9 1999/03/23 03:14:43 gram Exp $ + * $Id: packet-raw.c,v 1.10 1999/07/07 22:51:52 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -71,10 +71,9 @@ dissect_raw( const u_char *pd, frame_data *fd, proto_tree *tree ) { /* populate a tree in the second pane with the status of the link layer (ie none) */ if(tree) { - ti = proto_tree_add_item(tree, 0, 0, "Raw packet data" ); - fh_tree = proto_tree_new(); - proto_item_add_subtree(ti, fh_tree, ETT_RAW); - proto_tree_add_item(fh_tree, 0, 0, "No link information available"); + ti = proto_tree_add_text(tree, 0, 0, "Raw packet data" ); + fh_tree = proto_item_add_subtree(ti, ETT_RAW); + proto_tree_add_text(fh_tree, 0, 0, "No link information available"); } /* So far, the only time we get raw connection types are with Linux and |