Author: pschweitzer
Date: Mon Dec 7 11:21:20 2015
New Revision: 70286
URL:
http://svn.reactos.org/svn/reactos?rev=70286&view=rev
Log:
[IPHLPAPI]
Display the IP address used for tests
This highlights an issue with returned IP in ReactOS
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 11:21:20 2015
@@ -82,6 +82,8 @@
SockAddr = (PSOCKADDR_IN)Current->FirstUnicastAddress->Address.lpSockaddr;
IpAddr = SockAddr->sin_addr.S_un.S_addr;
+
+ trace("IP address found: %lu.%lu.%lu.%lu\n", IpAddr & 0xFF, (IpAddr
>> 8) & 0xFF, (IpAddr >> 16) & 0xFF, (IpAddr >> 24) &
0xFF);
Size = 4;
Err = SendARP(IpAddr, 0, Hw, &Size);