mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Applied dhcp.diff by Ian Wienand on lwip-devel on February 4th 2004.
DHCP tries to build even if LWIP_DHCP is turned off.
This commit is contained in:
parent
7129d4797c
commit
19eed5ff8a
@ -67,6 +67,8 @@
|
||||
* to remove the DHCP client.
|
||||
*
|
||||
*/
|
||||
#ifdef LWIP_DHCP /* don't build if not configured for use in lwipopt.h */
|
||||
|
||||
#include "lwip/stats.h"
|
||||
#include "lwip/mem.h"
|
||||
#include "lwip/udp.h"
|
||||
@ -1418,3 +1420,5 @@ static u32_t dhcp_get_option_long(u8_t *ptr)
|
||||
LWIP_DEBUGF(DHCP_DEBUG, ("option long value=%lu\n", value));
|
||||
return value;
|
||||
}
|
||||
|
||||
#endif /* LWIP_DHCP */
|
||||
|
Loading…
Reference in New Issue
Block a user