From d0e07762233f9c29e198d04929c87711c2dad643 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Thu, 23 Feb 2012 20:35:40 +0000 Subject: [PATCH] Fixed ICMP in net branch git-svn-id: svn://kolibrios.org@2386 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/network/icmp.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/branches/net/network/icmp.inc b/kernel/branches/net/network/icmp.inc index 6bfdeadbd3..673a5edc56 100644 --- a/kernel/branches/net/network/icmp.inc +++ b/kernel/branches/net/network/icmp.inc @@ -147,8 +147,8 @@ ICMP_input: ; First, check the checksum (altough some implementations ignore it) push esi ecx - push [edx + ICMP_header.Checksum] - mov [edx + ICMP_header.Checksum], 0 + push [esi + ICMP_header.Checksum] + mov [esi + ICMP_header.Checksum], 0 xor edx, edx call checksum_1 call checksum_2