[IPHLPAPI]

Display the IP address used for tests
This highlights an issue with returned IP in ReactOS

svn path=/trunk/; revision=70286
This commit is contained in:
Pierre Schweitzer 2015-12-07 11:21:20 +00:00
parent 94fc8e0f0b
commit ebb8c660f4

View file

@ -83,6 +83,8 @@ static VOID TestUM(IPAddr * Source)
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);
ok(Err == ERROR_NO_SYSTEM_RESOURCES, "Expected error: ERROR_NO_SYSTEM_RESOURCES. Got: %lx\n", Err);