Ethereal-dev: [ethereal-dev] [PATCH]

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

From: Love <lha@xxxxxxxxxxxxxx>
Date: Mon, 23 Aug 1999 12:20:10 +0200 (MET DST)
In source from cvs 30 min ago, i needed the following patch to make
ethereal build on OSF/1 (Digital Unix/Tru64)..

Love


Index: packet-fddi.c
===================================================================
RCS file: /cvsroot/ethereal/packet-fddi.c,v
retrieving revision 1.16
diff -u -w -u -w -r1.16 packet-fddi.c
--- packet-fddi.c	1999/08/01 04:28:08	1.16
+++ packet-fddi.c	1999/08/23 10:04:26
@@ -139,7 +139,11 @@
 	int i;
 
 	for (i = 0; i < 6; i++) {
+#ifdef BIT_SWAPPED_MAC_ADDRS
 		swapped_addr[i] = swaptab[orig_addr[i]];
+#else
+		swapped_addr[i] = orig_addr[i];
+#endif
 	}
 }