iphlpapi/tests: Test for Ipv4Enabled and Ipv6Enabled flags.
This commit is contained in:
parent
929fdbbf55
commit
a331f1e614
1 changed files with 5 additions and 0 deletions
|
@ -1818,6 +1818,11 @@ static void test_GetAdaptersAddresses(void)
|
||||||
if (ua->Flags & IP_ADAPTER_ADDRESS_DNS_ELIGIBLE)
|
if (ua->Flags & IP_ADAPTER_ADDRESS_DNS_ELIGIBLE)
|
||||||
dns_eligible_found = TRUE;
|
dns_eligible_found = TRUE;
|
||||||
|
|
||||||
|
if(ua->Address.lpSockaddr->sa_family == AF_INET)
|
||||||
|
todo_wine ok(aa->Ipv4Enabled == TRUE, "expected Ipv4Enabled flag to be set in interface %ls\n", aa->FriendlyName);
|
||||||
|
else if(ua->Address.lpSockaddr->sa_family == AF_INET6)
|
||||||
|
todo_wine ok(aa->Ipv6Enabled == TRUE, "expected Ipv6Enabled flag to be set in interface %ls\n", aa->FriendlyName);
|
||||||
|
|
||||||
ua = ua->Next;
|
ua = ua->Next;
|
||||||
}
|
}
|
||||||
for (i = 0, temp[0] = '\0'; i < ARRAY_SIZE(aa->ZoneIndices); i++)
|
for (i = 0, temp[0] = '\0'; i < ARRAY_SIZE(aa->ZoneIndices); i++)
|
||||||
|
|
Loading…
Add table
Reference in a new issue