30 Jan
2023
30 Jan
'23
1:26 p.m.
From: Hans Leidekker <hans(a)codeweavers.com> --- dlls/ws2_32/tests/sock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 070876157fe..d29e1c768dc 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -12209,6 +12209,8 @@ static void test_bind(void) { const IP_ADAPTER_UNICAST_ADDRESS *unicast_addr; + if (adapter->OperStatus != IfOperStatusUp) continue; + for (unicast_addr = adapter->FirstUnicastAddress; unicast_addr != NULL; unicast_addr = unicast_addr->Next) { short family = unicast_addr->Address.lpSockaddr->sa_family; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2065