[IPHLPAPI_APITEST]

Add another check that shows that data returned by GetAdaptersAddresses() are incomplete and thus broken...
"This isn't the type you're looking for." would say an old man

svn path=/trunk/; revision=70290
This commit is contained in:
Pierre Schweitzer 2015-12-07 22:33:29 +00:00
parent c2a6fdaefb
commit 4042ba935e

View file

@ -80,6 +80,7 @@ static VOID TestUM(IPAddr * Source)
if (!Current->FirstUnicastAddress)
continue;
ok(Current->FirstUnicastAddress->Address.iSockaddrLength == sizeof(SOCKADDR_IN), "Unexpected length: %u\n", Current->FirstUnicastAddress->Address.iSockaddrLength);
SockAddr = (PSOCKADDR_IN)Current->FirstUnicastAddress->Address.lpSockaddr;
IpAddr = SockAddr->sin_addr.S_un.S_addr;