diff --git a/src/include/netif/ppp/ppp_opts.h b/src/include/netif/ppp/ppp_opts.h index 75541f44..4d379a92 100644 --- a/src/include/netif/ppp/ppp_opts.h +++ b/src/include/netif/ppp/ppp_opts.h @@ -43,6 +43,11 @@ #ifndef PPPOE_SUPPORT #define PPPOE_SUPPORT 0 #endif +#if PPPOE_SUPPORT +/* PPPoE requires Ethernet support */ +#undef LWIP_ETHERNET +#define LWIP_ETHERNET 1 +#endif /* PPPOE_SUPPORT */ /** * PPPOL2TP_SUPPORT==1: Enable PPP Over L2TP