Commit 26a5261a authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Don't check the checksum of the original echo request packet in the

received reply packet.
parent 1a65a7b8
......@@ -427,8 +427,10 @@ DWORD WINAPI IcmpSendEcho(
} else if ((rep_icmp_header->icmp_type!=ICMP_ECHO) ||
(rep_icmp_header->icmp_code!=0) ||
(rep_icmp_header->icmp_id!=id) ||
(rep_icmp_header->icmp_seq!=seq) ||
(rep_icmp_header->icmp_cksum!=cksum)) {
/* windows doesn't check this checksum, else tracert */
/* behind a Linux 2.2 masquerading firewall would fail*/
/* (rep_icmp_header->icmp_cksum!=cksum) || */
(rep_icmp_header->icmp_seq!=seq)) {
/* This was not a reply to one of our packets after all */
TRACE("skipping type,code=%d,%d id,seq=%d,%d cksum=%d\n",
rep_icmp_header->icmp_type,rep_icmp_header->icmp_code,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment