mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-15 22:49:16 +00:00
Process IPv6 packets arriving from non-Ethernet links.
This commit is contained in:
parent
12a948dacb
commit
0f56d838ec
@ -103,6 +103,11 @@ tcpip_thread(void *arg)
|
|||||||
ethernet_input(msg->msg.inp.p, msg->msg.inp.netif);
|
ethernet_input(msg->msg.inp.p, msg->msg.inp.netif);
|
||||||
} else
|
} else
|
||||||
#endif /* LWIP_ETHERNET */
|
#endif /* LWIP_ETHERNET */
|
||||||
|
#if LWIP_IPV6
|
||||||
|
if ((*((unsigned char *)(msg->msg.inp.p->payload)) & 0xf0) == 0x60) {
|
||||||
|
ip6_input(msg->msg.inp.p, msg->msg.inp.netif);
|
||||||
|
} else
|
||||||
|
#endif /* LWIP_IPV6 */
|
||||||
{
|
{
|
||||||
ip_input(msg->msg.inp.p, msg->msg.inp.netif);
|
ip_input(msg->msg.inp.p, msg->msg.inp.netif);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user