Skip to content

lwip: enable EMAC IPv6 support #6050

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 12, 2018
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