mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
OS detection logic in my_gethwaddr.c is backwards
This commit is contained in:
parent
7ee612c912
commit
5bf5e6eeca
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ my_bool my_gethwaddr(uchar *to)
|
|||
uint i;
|
||||
for (i= 0; res && i < ifc.ifc_len / sizeof(ifr[0]); i++)
|
||||
{
|
||||
#if !defined(_AIX) || !defined(__linux__)
|
||||
#if defined(_AIX) || defined(__linux__)
|
||||
#if defined(__linux__)
|
||||
#define HWADDR_DATA ifr[i].ifr_hwaddr.sa_data
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue