mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-13 09:54:39 +08:00
Added missing #if LWIP_DHCP #endif pair.
This commit is contained in:
parent
30fde02666
commit
4e44c2b993
@ -9,6 +9,11 @@ HISTORY
|
||||
|
||||
(active STABLE-0_7 branch)
|
||||
|
||||
++ Bug fixes:
|
||||
|
||||
2004-03-11 Leon Woestenberg <leon.woestenberg@gmx.net>
|
||||
* dhcp.c: Added missing #if LWIP_DHCP #endif pair.
|
||||
|
||||
(STABLE-0_7_1)
|
||||
|
||||
++ Bug fixes:
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 2001-2003 Leon Woestenberg <leon.woestenberg@gmx.net>
|
||||
* Copyright (c) 2001-2003 Axon Digital Design B.V., The Netherlands.
|
||||
* Copyright (c) 2001-2004 Leon Woestenberg <leon.woestenberg@gmx.net>
|
||||
* Copyright (c) 2001-2004 Axon Digital Design B.V., The Netherlands.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
@ -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…
x
Reference in New Issue
Block a user