Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2fbaa45

Browse files
committed
MAC addr compare fix.
1 parent61f688c commit2fbaa45

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
#definelobits(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)

[8]ページ先頭

©2009-2025 Movatter.jp