aboutsummaryrefslogtreecommitdiffstats
path: root/packet-data.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1998-09-23 05:25:12 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1998-09-23 05:25:12 +0000
commit9caffcadc6f9951193c09f4787a14c718b6b2aeb (patch)
tree5397f85e50e49ff0bc2ca493f67fd6afffcfb940 /packet-data.c
parent3025bd9368144eb8e734235daa7a4b184e056e92 (diff)
I removed the ncp code from packet-ipx.c and created packet-ncp.c. Now that
I've started concentrating on the NetWare modules again, packet-ncp.c is going to start to grow. I also added IPX RIP to packet-ipx.c. Additionally, I added the END_OF_FRAME macro to packet.h, which is useful for many dissect() routines. (and I already modified packet-bootp.c and packet-data.c to use this macro) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-data.c')
-rw-r--r--packet-data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-data.c b/packet-data.c
index 06b9a90c97..6a8accae7a 100644
--- a/packet-data.c
+++ b/packet-data.c
@@ -2,7 +2,7 @@
* Routines for raw data (default case)
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
- * $Id: packet-data.c,v 1.2 1998/09/16 03:22:02 gerald Exp $
+ * $Id: packet-data.c,v 1.3 1998/09/23 05:25:08 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -45,7 +45,7 @@ void
dissect_data(const u_char *pd, int offset, frame_data *fd, GtkTree *tree) {
if (fd->cap_len > offset && tree) {
- (void) add_item_to_tree(GTK_WIDGET(tree), offset, fd->cap_len - offset,
+ (void) add_item_to_tree(GTK_WIDGET(tree), offset, END_OF_FRAME,
"Data");
}
}