ethernet_input: pass IPv4 packets to ip4_input, not to ip_input

This commit is contained in:
goldsimon 2015-08-31 08:26:44 +02:00
parent a01a1b4556
commit b572028e95

View File

@ -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;