[Bug 48567] New: Wine returns the loopback IP as first item in GetIpAddrTable and a MAC of 0
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(a)winehq.org Reporter: ez(a)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.
https://bugs.winehq.org/show_bug.cgi?id=48567 Jeff Zaroyko <jeffz(a)jeffz.name> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48567 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24(a)gmail.com --- Comment #1 from Alex Henrie <alexhenrie24(a)gmail.com> --- Hi Zelea, could you please share the complete output of `ip link` on the computer where you see this problem? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=48567 --- Comment #2 from Hans Leidekker <hans(a)meelstraat.net> --- (In reply to zelea2 from comment #0)
Created attachment 66389 [details] 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
The code enumerates interfaces and takes the MAC address of the last interface. If that interface doesn't have a hardware address (e.g. a tunnel device) you get this result. -- 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.
participants (1)
-
WineHQ Bugzilla