mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-15 22:21:51 +00:00
ethernet_input: pass IPv4 packets to ip4_input, not to ip_input
This commit is contained in:
parent
a01a1b4556
commit
b572028e95
@ -1474,7 +1474,7 @@ ethernet_input(struct pbuf *p, struct netif *netif)
|
|||||||
goto free_and_return;
|
goto free_and_return;
|
||||||
} else {
|
} else {
|
||||||
/* pass to IP layer */
|
/* pass to IP layer */
|
||||||
ip_input(p, netif);
|
ip4_input(p, netif);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user