mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
MAC addr compare fix.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user