Commit a331f1e6 authored by Santino Mazza's avatar Santino Mazza Committed by Alexandre Julliard

iphlpapi/tests: Test for Ipv4Enabled and Ipv6Enabled flags.

parent 929fdbbf
......@@ -1818,6 +1818,11 @@ static void test_GetAdaptersAddresses(void)
if (ua->Flags & IP_ADAPTER_ADDRESS_DNS_ELIGIBLE)
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;
}
for (i = 0, temp[0] = '\0'; i < ARRAY_SIZE(aa->ZoneIndices); i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment