mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-07 15:04:39 +08: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.
|
* 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/stats.h"
|
||||||
#include "lwip/mem.h"
|
#include "lwip/mem.h"
|
||||||
#include "lwip/udp.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));
|
LWIP_DEBUGF(DHCP_DEBUG, ("option long value=%lu\n", value));
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* LWIP_DHCP */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user