mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 21:14:09 +00:00
PPP, ppp_init function is back, re-add magic_init
Work on PPP MEMPOOL re-added the previously removed ppp_init function
because we considered it useless. Re-add magic_init which was
previously in ppp_init and removed in commit 15fbfb7363
, it does
not hurt doing so and might fill the gap if we failed understanding
the crypto implication about removing it.
This commit is contained in:
parent
4a6c444a17
commit
fc2701ae03
@ -594,6 +594,12 @@ int ppp_init(void)
|
||||
|
||||
LWIP_MEMPOOL_INIT(PPP_PCB);
|
||||
|
||||
/*
|
||||
* Initialize magic number generator now so that protocols may
|
||||
* use magic numbers in initialization.
|
||||
*/
|
||||
magic_init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user