mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08:00
fix bug #44578: Build fails for IPv6-only configuration
This commit is contained in:
parent
b135a0aa49
commit
d06a736f41
@ -1348,7 +1348,7 @@ ethernet_input(struct pbuf *p, struct netif *netif)
|
|||||||
{
|
{
|
||||||
struct eth_hdr* ethhdr;
|
struct eth_hdr* ethhdr;
|
||||||
u16_t type;
|
u16_t type;
|
||||||
#if LWIP_ARP || ETHARP_SUPPORT_VLAN
|
#if LWIP_ARP || ETHARP_SUPPORT_VLAN || LWIP_IPV6
|
||||||
s16_t ip_hdr_offset = SIZEOF_ETH_HDR;
|
s16_t ip_hdr_offset = SIZEOF_ETH_HDR;
|
||||||
#endif /* LWIP_ARP || ETHARP_SUPPORT_VLAN */
|
#endif /* LWIP_ARP || ETHARP_SUPPORT_VLAN */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user