iphlpapi/tests: Improve IcmpSendEcho trace.

This commit is contained in:
Bruno Jesus 2015-05-14 23:27:47 -03:00 committed by Alexandre Julliard
parent d6d703b592
commit ec8e1df8a9
1 changed files with 9 additions and 1 deletions

View File

@ -1043,7 +1043,15 @@ todo_wine
if (ret)
{
PICMP_ECHO_REPLY pong = (PICMP_ECHO_REPLY) replydata;
trace ("ping roundtrip: %u ms\n", pong->RoundTripTime);
trace ("send addr : %s\n", ntoa(address));
trace ("send size : %u\n", sizeof(senddata));
trace ("reply addr : %s\n", ntoa(pong->Address));
trace ("reply size : %u\n", replysz);
trace ("roundtrip : %u ms\n", pong->RoundTripTime);
trace ("status : %u\n", pong->Status);
trace ("recv size : %u\n", pong->DataSize);
trace ("ttl : %u\n", pong->Options.Ttl);
trace ("flags : 0x%x\n", pong->Options.Flags);
}
else
{