mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 04:14:47 +00:00
ws2_32/tests: Skip adapters that aren't up and running in test_bind().
This commit is contained in:
parent
1acb569a0f
commit
7930cc4c96
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue