From 57c201815831f796638566d51bded59a7e377de9 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Mon, 18 Mar 2013 16:26:54 +0000 Subject: [PATCH] ARP_BLOCK logic was reversed git-svn-id: svn://kolibrios.org@3386 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/network/ARP.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kernel/branches/net/network/ARP.inc b/kernel/branches/net/network/ARP.inc index 95427edad8..e889d27aa7 100644 --- a/kernel/branches/net/network/ARP.inc +++ b/kernel/branches/net/network/ARP.inc @@ -517,9 +517,9 @@ ARP_IP_to_MAC: .found_it: cmp [esi + ARP_entry.Status], ARP_VALID_MAPPING ; Does it have a MAC assigned? je .valid + if ARP_BLOCK - jmp .give_up -else + cmp [esi + ARP_entry.Status], ARP_AWAITING_RESPONSE ; Are we waiting for reply from remote end? jne .give_up push esi @@ -527,6 +527,11 @@ else call delay_ms pop esi jmp .found_it ; now check again + +else + + jmp .give_up + end if .valid: