[Bug 53499] New: GetAdaptersInfo returns loopback interface while it should omit it
WineHQ Bugzilla
wine-bugs at winehq.org
Thu Aug 4 05:19:17 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=53499
Bug ID: 53499
Summary: GetAdaptersInfo returns loopback interface while it
should omit it
Product: Wine
Version: 7.14
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: iphlpapi
Assignee: wine-bugs at winehq.org
Reporter: stanislav.rimsha at gmail.com
Distribution: ---
Created attachment 72853
--> https://bugs.winehq.org/attachment.cgi?id=72853
Application debug log with +iphlpapi,+nsi,+winsock
I'm trying to fix LAN play under wine for a game for some time and in the logs
I came across the issue that GetAdaptersInfo seems to include loopback
interface and causing application to use zero hardware address (loopback
interface is always on top).
According to the code here loopback interfaces should not be included:
https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/iphlpapi/iphlpapi_main.c#L655
However in debug log interface indexes indicate that loopback is likely
returned along with other adapters.
Also worth noting that in ipconfig /all the lo interface is considered an
Ethernet interface.
--
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