Author: pschweitzer
Date: Mon Dec 7 22:33:29 2015
New Revision: 70290
URL: http://svn.reactos.org/svn/reactos?rev=70290&view=rev
Log:
[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
Modified:
trunk/rostests/apitests/iphlpapi/SendARP.c
Modified: trunk/rostests/apitests/iphlpapi/SendARP.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/iphlpapi/SendARP…
==============================================================================
--- trunk/rostests/apitests/iphlpapi/SendARP.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/iphlpapi/SendARP.c [iso-8859-1] Mon Dec 7 22:33:29 2015
@@ -80,6 +80,7 @@
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;