forked from KolibriOS/kolibrios
ARP_BLOCK logic was reversed
git-svn-id: svn://kolibrios.org@3386 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0d13375a81
commit
57c2018158
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user