mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +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;
|
||||
} else {
|
||||
/* pass to IP layer */
|
||||
ip_input(p, netif);
|
||||
ip4_input(p, netif);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user