ws2_32/tests: Skip adapters that aren't up and running in test_bind().
This commit is contained in:
parent
1acb569a0f
commit
7930cc4c96
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue