mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[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:
parent
c2a6fdaefb
commit
4042ba935e
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue