MAC addr compare fix.
authorBruce Momjian <[email protected]>
Thu, 16 Dec 1999 02:57:14 +0000 (02:57 +0000)
committerBruce Momjian <[email protected]>
Thu, 16 Dec 1999 02:57:14 +0000 (02:57 +0000)
src/backend/utils/adt/mac.c

index 1d874e1a208aea817c140f4c3d7d0baaa875b3b0..cbf7768aa40b7204da76e9c573c9f7ee32ef7038 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * PostgreSQL type definitions for MAC addresses.
  *
- * $Id: mac.c,v 1.8.2.1 1999/08/02 05:24:54 scrappy Exp $
+ * $Id: mac.c,v 1.8.2.2 1999/12/16 02:57:14 momjian Exp $
  */
 
 
@@ -132,7 +132,7 @@ manufacturer manufacturers[] = {
   ((unsigned long)((addr->a<<16)|(addr->b<<8)|(addr->c)))
 
 #define lobits(addr) \
-  ((unsigned long)((addr->c<<16)|(addr->e<<8)|(addr->f)))
+  ((unsigned long)((addr->d<<16)|(addr->e<<8)|(addr->f)))
 
 /*
  * MAC address reader.  Accepts several common notations.