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