MAC addr compare fix.

This commit is contained in:
Bruce Momjian 1999-12-16 02:57:14 +00:00
parent 61f688cacf
commit 2fbaa45326

View File

@ -1,7 +1,7 @@
/* /*
* PostgreSQL type definitions for MAC addresses. * 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))) ((unsigned long)((addr->a<<16)|(addr->b<<8)|(addr->c)))
#define lobits(addr) \ #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. * MAC address reader. Accepts several common notations.