/programs/network/autodhcp/trunk/ETH.INC |
---|
286,7 → 286,7 |
cmp endptr, bufferl |
jg .end |
eth.read_packet socket, endptr, bufferl |
eth.read_packet socket, endptr, 0 |
add endptr,eax |
test eax, eax |
/programs/network/autodhcp/trunk/autodhcp.asm |
---|
358,10 → 358,6 |
; 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: |