36 |
* lwIP 0.5.3 which has the new "etharp" module. It aims to conform with |
* lwIP 0.5.3 which has the new "etharp" module. It aims to conform with |
37 |
* RFC 2131 and RFC 2132. |
* RFC 2131 and RFC 2132. |
38 |
* |
* |
39 |
* DONE: |
* KNOWN BUG: |
40 |
* - Obtaining renewing, rebinding a lease. |
* - This client will fail on servers using file/sname field overloading |
|
* - ARP check on the offered address, and address declines on in-use |
|
|
* addresses. (Can be disabled). |
|
|
* - Reobtaining a lease |
|
|
* - Concurrent multiple interface configuration and lease maintenance |
|
|
* - A periodical polling timer method and a callback timer approach |
|
41 |
* TODO: |
* TODO: |
42 |
* - Add JavaDoc style documentation (API, internals). |
* - Add JavaDoc style documentation (API, internals). |
43 |
* - this client will fail on servers using file/sname field overloading |
* - Make the unfold routine smarter to handle this |
|
* - make the unfold routine smarter to handle this |
|
44 |
* - Support for interfaces other than Ethernet (SLIP, PPP, ...) |
* - Support for interfaces other than Ethernet (SLIP, PPP, ...) |
45 |
* - ... |
* - ... |
46 |
* |
* |
286 |
} |
} |
287 |
else |
else |
288 |
{ |
{ |
|
struct netif *netif = state->netif; |
|
289 |
DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REQUESTING, releasing, restarting")); |
DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REQUESTING, releasing, restarting")); |
290 |
dhcp_release(state); |
dhcp_release(state); |
291 |
dhcp_discover(state); |
dhcp_discover(state); |
319 |
} |
} |
320 |
else |
else |
321 |
{ |
{ |
|
struct netif *netif = state->netif; |
|
322 |
DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REBINDING, release, restart")); |
DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REBINDING, release, restart")); |
323 |
dhcp_release(state); |
dhcp_release(state); |
324 |
dhcp_discover(state); |
dhcp_discover(state); |