mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-28 14:54:05 +00:00
Fix compile when PPPOE is enabled
This commit is contained in:
parent
d5778bad2f
commit
2dc8f59bf4
@ -57,10 +57,6 @@
|
||||
#include "netif/etharp.h"
|
||||
#include "lwip/ip6.h"
|
||||
|
||||
#if PPPOE_SUPPORT
|
||||
#include "netif/ppp/pppoe.h"
|
||||
#endif /* PPPOE_SUPPORT */
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if LWIP_IPV4 && LWIP_ARP /* don't build if not configured for use in lwipopts.h */
|
||||
|
@ -48,6 +48,10 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if PPPOE_SUPPORT
|
||||
#include "netif/ppp/pppoe.h"
|
||||
#endif /* PPPOE_SUPPORT */
|
||||
|
||||
const struct eth_addr ethbroadcast = {{0xff,0xff,0xff,0xff,0xff,0xff}};
|
||||
const struct eth_addr ethzero = {{0,0,0,0,0,0}};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user