Ethereal-dev: Re: [Ethereal-dev] Bug 68

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: didier <dgautheron@xxxxxxxx>
Date: Mon, 18 Apr 2005 20:07:35 +0000
Gerald Combs wrote:
Could someone take a look at bug #68?  I'm having a hard time tracking
it down:


    http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=68

Maybe

Didier
Index: packet-isl.c
===================================================================
--- packet-isl.c	(revision 14099)
+++ packet-isl.c	(working copy)
@@ -226,9 +226,14 @@
 
   if (tree) {
     /* This part looks sort of like a SNAP-encapsulated LLC header... */
+#if 0    
     proto_tree_add_text(fh_tree, payload_tvb, 0, 1, "DSAP: 0x%X", tvb_get_guint8(tvb, 14));
     proto_tree_add_text(fh_tree, payload_tvb, 1, 1, "SSAP: 0x%X", tvb_get_guint8(tvb, 15));
     proto_tree_add_text(fh_tree, payload_tvb, 2, 1, "Control: 0x%X", tvb_get_guint8(tvb, 16));
+#endif
+    proto_tree_add_text(fh_tree, payload_tvb, 0, 1, "DSAP: 0x%X", tvb_get_guint8(payload_tvb, 0));
+    proto_tree_add_text(fh_tree, payload_tvb, 1, 1, "SSAP: 0x%X", tvb_get_guint8(payload_tvb, 1));
+    proto_tree_add_text(fh_tree, payload_tvb, 2, 1, "Control: 0x%X", tvb_get_guint8(payload_tvb, 2));
 
     /* ...but this is the manufacturer's ID portion of the source address
        field (which is, admittedly, an OUI). */