iphlpapi/tests: Improve IcmpSendEcho trace

Bruno Jesus 00cpxxx at gmail.com
Thu May 14 21:27:47 CDT 2015


While studying a bug this proved to be useful.
-------------- next part --------------
diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c
index 847ba49..bc70b51 100644
--- a/dlls/iphlpapi/tests/iphlpapi.c
+++ b/dlls/iphlpapi/tests/iphlpapi.c
@@ -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
     {


More information about the wine-patches mailing list