mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 00:53:37 +08:00
PPP, code cleaning
lwIP indentation is 2 characters, fix ppp_init indentation.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user