mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-04 02:39:15 +00:00
TFTP server depends on UDP
This commit is contained in:
parent
b040544628
commit
1e5efee7cb
@ -48,6 +48,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lwip/apps/tftp_server.h"
|
#include "lwip/apps/tftp_server.h"
|
||||||
|
|
||||||
|
#if LWIP_UDP
|
||||||
|
|
||||||
#include "lwip/udp.h"
|
#include "lwip/udp.h"
|
||||||
#include "lwip/timeouts.h"
|
#include "lwip/timeouts.h"
|
||||||
#include "lwip/debug.h"
|
#include "lwip/debug.h"
|
||||||
@ -410,3 +413,5 @@ tftp_init(const struct tftp_context *ctx)
|
|||||||
|
|
||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* LWIP_UDP */
|
Loading…
Reference in New Issue
Block a user