PPP, code cleaning

lwIP indentation is 2 characters, fix ppp_init indentation.
This commit is contained in:
Sylvain Rochet 2016-05-07 01:51:52 +02:00
parent fc2701ae03
commit 73b8026cb9

View File

@ -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;
} }
/* /*