mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 22:02:18 +00:00
Convert sequence number to network byte order before sending it on the wire.
svn path=/trunk/; revision=22898
This commit is contained in:
parent
51cb8f8eac
commit
6f734d6123
|
@ -489,7 +489,7 @@ static BOOL Ping(VOID)
|
|||
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 */
|
||||
|
|
Loading…
Reference in a new issue