Bugfix in Autodhcp
git-svn-id: svn://kolibrios.org@337 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ef27b83e97
commit
979e9112da
@ -286,7 +286,7 @@ local .getdata,.loop,.end
|
||||
cmp endptr, bufferl
|
||||
jg .end
|
||||
|
||||
eth.read_packet socket, endptr, bufferl
|
||||
eth.read_packet socket, endptr, 0
|
||||
add endptr,eax
|
||||
|
||||
test eax, eax
|
||||
|
@ -358,10 +358,6 @@ pr_exit:
|
||||
; DEBUGF 1,"DHCP: Sending ARP probe\n"
|
||||
; 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
|
||||
|
||||
apipa:
|
||||
|
Loading…
Reference in New Issue
Block a user