From b572028e95f3edd8daab53aa3280967c30bac6d8 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 31 Aug 2015 08:26:44 +0200 Subject: [PATCH] ethernet_input: pass IPv4 packets to ip4_input, not to ip_input --- src/netif/etharp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netif/etharp.c b/src/netif/etharp.c index 05d8181a..353ac0f1 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -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;