8000 MAC addr compare fix. · tomdcc/postgres@2fbaa45 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2fbaa45

Browse files
committed
MAC addr compare fix.
1 parent 61f688c commit 2fbaa45

File tree

1 file changed

+2
-2
lines changed
  • src/backend/utils/adt

1 file changed

+2
-2
lines changed

src/backend/utils/adt/mac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* PostgreSQL type definitions for MAC addresses.
33
*
4-
* $Id: mac.c,v 1.8.2.1 1999/08/02 05:24:54 scrappy Exp $
4+
* $Id: mac.c,v 1.8.2.2 1999/12/16 02:57:14 momjian Exp $
55
*/
66

77

@@ -132,7 +132,7 @@ manufacturer manufacturers[] = {
132132
((unsigned long)((addr->a<<16)|(addr->b<<8)|(addr->c)))
133133

134134
#define lobits(addr) \
135-
((unsigned long)((addr->c<<16)|(addr->e<<8)|(addr->f)))
135+
((unsigned long)((addr->d<<16)|(addr->e<<8)|(addr->f)))
136136

137137
/*
138138
* MAC address reader. Accepts several common notations.

0 commit comments

Comments
 (0)
0