Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions features/FEATURE_LWIP/lwip-interface/emac_lwip.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "lwip/tcp.h"
#include "lwip/ip.h"
#include "netif/etharp.h"
#include "lwip/ethip6.h"

static err_t emac_lwip_low_level_output(struct netif *netif, struct pbuf *p)
{
Expand Down Expand Up @@ -79,6 +80,9 @@ err_t emac_lwip_if_init(struct netif *netif)
#if LWIP_IPV4
netif->output = etharp_output;
#endif /* LWIP_IPV4 */
#if LWIP_IPV6
netif->output_ip6 = ethip6_output;
#endif /* LWIP_IPV6 */

netif->linkoutput = emac_lwip_low_level_output;

Expand Down