diff --git a/src/netif/ethernetif.c b/src/netif/ethernetif.c index dc8ae6c4..7867c882 100644 --- a/src/netif/ethernetif.c +++ b/src/netif/ethernetif.c @@ -318,7 +318,9 @@ ethernetif_init(struct netif *netif) * You can instead declare your own function an call etharp_output() * from it if you have to do some checks before sending (e.g. if link * is available...) */ +#if LWIP_IPV4 netif->output = etharp_output; +#endif /* LWIP_IPV4 */ #if LWIP_IPV6 netif->output_ip6 = ethip6_output; #endif /* LWIP_IPV6 */