[Bug 48567] New: Wine returns the loopback IP as first item in GetIpAddrTable and a MAC of 0

WineHQ Bugzilla wine-bugs at winehq.org
Tue Feb 4 15:11:39 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48567

            Bug ID: 48567
           Summary: Wine returns the loopback IP as first item in
                    GetIpAddrTable and a MAC of 0
           Product: Wine
           Version: 5.0-rc3
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: iphlpapi
          Assignee: wine-bugs at winehq.org
          Reporter: ez at vajn.icu
      Distribution: ---

Created attachment 66389
  --> https://bugs.winehq.org/attachment.cgi?id=66389
C source

This is the same bug as 40247 which was marked as "CLOSED FIXED"

All flexnet based licensing fails to work under wine because it receives
a hardware MAC of 0 returned by the "lo" interface:

$ lmutil.exe lmhostid
lmutil - Copyright (c) 1989-2017 Flexera Software LLC. All Rights Reserved.
The FlexNet host ID of this machine is "ffffffff"

If you compile the attached C program and run it in wine you get:

$ mingw32-gcc -DMINGW -o get_mac get_mac.c -lnetapi32
$ ./get_mac.exe
MAC: 000000000000

In Linux the eth0 MAC is: 

$ gcc -o get_mac get_mac.c
$ ./get_mac
Grabbing MAC address for interface eth0
MAC: e03619b3b50e

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list