diff --git a/src/netif/ppp/ppp.c b/src/netif/ppp/ppp.c index 106533cc..0a3b0431 100644 --- a/src/netif/ppp/ppp.c +++ b/src/netif/ppp/ppp.c @@ -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; }