Cleanup etharp_arp_input() signature to match the sig of other input functions (pbuf, netif). Rename to etharp_input()

This commit is contained in:
Dirk Ziegelmeier
2016-08-23 17:03:51 +02:00
parent 979bee386c
commit 6caa7b9927
4 changed files with 15 additions and 16 deletions

View File

@@ -175,7 +175,7 @@ ethernet_input(struct pbuf *p, struct netif *netif)
goto free_and_return;
}
/* pass p to ARP module */
etharp_arp_input(netif, (struct eth_addr*)(netif->hwaddr), p);
etharp_input(p, netif);
break;
#endif /* LWIP_IPV4 && LWIP_ARP */
#if PPPOE_SUPPORT