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

WineHQ Bugzilla wine-bugs at winehq.org
Fri Oct 8 11:17:43 CDT 2021


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

--- Comment #2 from Hans Leidekker <hans at 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.



More information about the wine-bugs mailing list