mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-14 09:39:22 +00:00
PPP, code cleaning
lwIP indentation is 2 characters, fix ppp_init indentation.
This commit is contained in:
parent
fc2701ae03
commit
73b8026cb9
@ -580,19 +580,19 @@ err:
|
|||||||
int ppp_init(void)
|
int ppp_init(void)
|
||||||
{
|
{
|
||||||
#if PPPOS_SUPPORT
|
#if PPPOS_SUPPORT
|
||||||
LWIP_MEMPOOL_INIT(PPPOS_PCB);
|
LWIP_MEMPOOL_INIT(PPPOS_PCB);
|
||||||
#endif
|
#endif
|
||||||
#if PPPOE_SUPPORT
|
#if PPPOE_SUPPORT
|
||||||
LWIP_MEMPOOL_INIT(PPPOE_IF);
|
LWIP_MEMPOOL_INIT(PPPOE_IF);
|
||||||
#endif
|
#endif
|
||||||
#if PPPOL2TP_SUPPORT
|
#if PPPOL2TP_SUPPORT
|
||||||
LWIP_MEMPOOL_INIT(PPPOL2TP_PCB);
|
LWIP_MEMPOOL_INIT(PPPOL2TP_PCB);
|
||||||
#endif
|
#endif
|
||||||
#if LWIP_PPP_API && LWIP_MPU_COMPATIBLE
|
#if LWIP_PPP_API && LWIP_MPU_COMPATIBLE
|
||||||
LWIP_MEMPOOL_INIT(PPPAPI_MSG);
|
LWIP_MEMPOOL_INIT(PPPAPI_MSG);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
LWIP_MEMPOOL_INIT(PPP_PCB);
|
LWIP_MEMPOOL_INIT(PPP_PCB);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize magic number generator now so that protocols may
|
* Initialize magic number generator now so that protocols may
|
||||||
@ -600,7 +600,7 @@ int ppp_init(void)
|
|||||||
*/
|
*/
|
||||||
magic_init();
|
magic_init();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user