aboutsummaryrefslogtreecommitdiffstats
path: root/packet-raw.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-07-07 22:52:57 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-07-07 22:52:57 +0000
commit07f42b5b31f9523deeb147226521f77a2c8dd797 (patch)
treec720d2a42f11c9d14ac1a161eb785b438c2c4b14 /packet-raw.c
parentfba49cfe85d4b23ebbffa97fae126a379e913ecd (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. svn path=/trunk/; revision=342
Diffstat (limited to 'packet-raw.c')
-rw-r--r--packet-raw.c9
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