Bugfix in Autodhcp

git-svn-id: svn://kolibrios.org@337 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2007-02-10 16:19:25 +00:00
parent ef27b83e97
commit 979e9112da
2 changed files with 1 additions and 5 deletions

View File

@ -286,7 +286,7 @@ local .getdata,.loop,.end
cmp endptr, bufferl cmp endptr, bufferl
jg .end jg .end
eth.read_packet socket, endptr, bufferl eth.read_packet socket, endptr, 0
add endptr,eax add endptr,eax
test eax, eax test eax, eax

View File

@ -358,10 +358,6 @@ pr_exit:
; DEBUGF 1,"DHCP: Sending ARP probe\n" ; DEBUGF 1,"DHCP: Sending ARP probe\n"
; eth.ARP_ANNOUNCE [dhcpClientIP] ; send an ARP announc packet ; eth.ARP_ANNOUNCE [dhcpClientIP] ; send an ARP announc packet
eth.get_GATEWAY eax ; if gateway was not set, set it to the DHCP SERVER IP
test eax,eax
jnz close
eth.set_GATEWAY [dhcpServerIP]
jmp close jmp close
apipa: apipa: