diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-07 22:52:57 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-07 22:52:57 +0000 |
commit | 07f42b5b31f9523deeb147226521f77a2c8dd797 (patch) | |
tree | c720d2a42f11c9d14ac1a161eb785b438c2c4b14 /packet-raw.c | |
parent | fba49cfe85d4b23ebbffa97fae126a379e913ecd (diff) | |
download | wireshark-07f42b5b31f9523deeb147226521f77a2c8dd797.tar.gz wireshark-07f42b5b31f9523deeb147226521f77a2c8dd797.tar.bz2 wireshark-07f42b5b31f9523deeb147226521f77a2c8dd797.zip |
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.
svn path=/trunk/; revision=342
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 |