Bruno Jesus : iphlpapi/tests: Improve IcmpSendEcho trace.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 15 08:38:42 CDT 2015


Module: wine
Branch: master
Commit: ec8e1df8a9f9af4016e1173a0ec4993543f7ed7c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ec8e1df8a9f9af4016e1173a0ec4993543f7ed7c

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Thu May 14 23:27:47 2015 -0300

iphlpapi/tests: Improve IcmpSendEcho trace.

---

 dlls/iphlpapi/tests/iphlpapi.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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-cvs mailing list