Ethereal-dev: [Ethereal-dev] Arcnet doesn't count IPX packets

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

From: Peter Fales <psfales@xxxxxxxxxx>
Date: Fri, 19 Dec 2003 08:33:45 -0600
Here's another arcnet related patch.  IPX packets are decoded
correctly, but during capture they are counted as "other" packets
rather than IPX.

diff -ur ethereal-0.10.0a/packet-arcnet.c ethereal-0.10.0a.new/packet-arcnet.c
--- ethereal-0.10.0a/packet-arcnet.c	2003-01-23 17:50:13.000000000 -0600
+++ ethereal-0.10.0a.new/packet-arcnet.c	2003-12-19 08:27:01.000000000 -0600
@@ -122,6 +122,10 @@
     ld->arp++;
     break;
 
+  case ARCNET_PROTO_IPX:
+    ld->ipx++;
+    break;
+
   default:
     ld->other++;
     break;

-- 
Peter Fales			  Lucent Technologies, Room 1C-436
N9IYJ            		  2000 N Naperville Rd PO Box 3033
internet: psfales@xxxxxxxxxx	  Naperville, IL 60566-7033
			 	  work:	(630) 979-8031

On Thu, Dec 18, 2003 at 05:24:39PM -0800, Guy Harris wrote:
> 
> On Dec 18, 2003, at 1:46 PM, Peter Fales wrote:
> 
> >I believe the intent is that linux (which sets
> >has_offset to TRUE) has an extra two-byte offset field at the beginning
> >of the packet, so the protocol ID byte is at offset 4.
> 
> Yes.  I've checked in your change.