[ros-diffs] [amunger] 22899: Merge 22898 to branch.

amunger at svn.reactos.org amunger at svn.reactos.org
Fri Jul 7 15:28:34 CEST 2006


Author: amunger
Date: Fri Jul  7 17:28:34 2006
New Revision: 22899

URL: http://svn.reactos.org/svn/reactos?rev=22899&view=rev
Log:
Merge 22898 to branch.

Modified:
    branches/ros-branch-0_3_0/reactos/base/applications/network/ping/ping.c

Modified: branches/ros-branch-0_3_0/reactos/base/applications/network/ping/ping.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_0/reactos/base/applications/network/ping/ping.c?rev=22899&r1=22898&r2=22899&view=diff
==============================================================================
--- branches/ros-branch-0_3_0/reactos/base/applications/network/ping/ping.c (original)
+++ branches/ros-branch-0_3_0/reactos/base/applications/network/ping/ping.c Fri Jul  7 17:28:34 2006
@@ -489,7 +489,7 @@
     Packet->Icmp.Type     = ICMPMSG_ECHOREQUEST;
     Packet->Icmp.Code     = 0;
     Packet->Icmp.Id	      = (USHORT)GetCurrentProcessId();
-    Packet->Icmp.SeqNum   = (USHORT)CurrentSeqNum;
+    Packet->Icmp.SeqNum   = htons((USHORT)CurrentSeqNum);
     Packet->Icmp.Checksum = 0;
 
     /* Timestamp is part of data area */




More information about the Ros-diffs mailing list