mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
PPP, MPPE, added build macro if MPPE is not enabled
This commit is contained in:
parent
cfd930cae7
commit
f9ae65acd8
@ -23,6 +23,9 @@
|
|||||||
* deprecated in 2.6
|
* deprecated in 2.6
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "lwip/opt.h"
|
||||||
|
#if PPP_SUPPORT && MPPE_SUPPORT /* don't build if not configured for use in lwipopts.h */
|
||||||
|
|
||||||
#include "lwip/err.h"
|
#include "lwip/err.h"
|
||||||
|
|
||||||
#include "netif/ppp/ppp_impl.h"
|
#include "netif/ppp/ppp_impl.h"
|
||||||
@ -676,3 +679,5 @@ static void ppp_mppe_cleanup(void)
|
|||||||
ppp_unregister_compressor(&ppp_mppe);
|
ppp_unregister_compressor(&ppp_mppe);
|
||||||
kfree(sha_pad);
|
kfree(sha_pad);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* PPP_SUPPORT && MPPE_SUPPORT */
|
||||||
|
Loading…
Reference in New Issue
Block a user