ARP_BLOCK logic was reversed

git-svn-id: svn://kolibrios.org@3386 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-03-18 16:26:54 +00:00
parent 0d13375a81
commit 57c2018158

View File

@ -517,9 +517,9 @@ ARP_IP_to_MAC:
.found_it: .found_it:
cmp [esi + ARP_entry.Status], ARP_VALID_MAPPING ; Does it have a MAC assigned? cmp [esi + ARP_entry.Status], ARP_VALID_MAPPING ; Does it have a MAC assigned?
je .valid je .valid
if ARP_BLOCK if ARP_BLOCK
jmp .give_up
else
cmp [esi + ARP_entry.Status], ARP_AWAITING_RESPONSE ; Are we waiting for reply from remote end? cmp [esi + ARP_entry.Status], ARP_AWAITING_RESPONSE ; Are we waiting for reply from remote end?
jne .give_up jne .give_up
push esi push esi
@ -527,6 +527,11 @@ else
call delay_ms call delay_ms
pop esi pop esi
jmp .found_it ; now check again jmp .found_it ; now check again
else
jmp .give_up
end if end if
.valid: .valid: