Revert "PPP: restore PPPoE devices without Ethernet ARP support, i.e. PPPoE only devices"
This reverts commit d43c092f17.
We don't actually need it, init.c is including ppp_opts.h and is doing
the following:
#if !LWIP_ETHERNET && (LWIP_ARP || PPPOE_SUPPORT)
#error "LWIP_ETHERNET needs to be turned on for LWIP_ARP or PPPOE_SUPPORT"
#endif
so the LWIP_ETHERNET fixup is not necessary per se, compatibility with
previously used lwipopts.h files is broken but at least user is warned.
This commit is contained in:
@@ -43,11 +43,6 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user