mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-10 15:45:13 +00:00
initialize PPP in the lwip_init() function
This commit is contained in:
parent
572e457e77
commit
f31b905847
@ -60,6 +60,7 @@
|
|||||||
#include "lwip/nd6.h"
|
#include "lwip/nd6.h"
|
||||||
#include "lwip/mld6.h"
|
#include "lwip/mld6.h"
|
||||||
#include "lwip/api.h"
|
#include "lwip/api.h"
|
||||||
|
#include "ppp.h"
|
||||||
|
|
||||||
/* Compile-time sanity checks for configuration errors.
|
/* Compile-time sanity checks for configuration errors.
|
||||||
* These can be done independently of LWIP_DEBUG, without penalty.
|
* These can be done independently of LWIP_DEBUG, without penalty.
|
||||||
@ -335,6 +336,9 @@ lwip_init(void)
|
|||||||
mld6_init();
|
mld6_init();
|
||||||
#endif /* LWIP_IPV6_MLD */
|
#endif /* LWIP_IPV6_MLD */
|
||||||
#endif /* LWIP_IPV6 */
|
#endif /* LWIP_IPV6 */
|
||||||
|
#if PPP_SUPPORT
|
||||||
|
ppp_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if LWIP_TIMERS
|
#if LWIP_TIMERS
|
||||||
sys_timeouts_init();
|
sys_timeouts_init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user