mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-04 05:39:53 +00:00
fix ethernet_input() return code warning.
This commit is contained in:
parent
0b8b9e8033
commit
c81d0f3393
@ -214,7 +214,7 @@ igmp_timer(void *arg)
|
|||||||
* @param p the recevied packet, p->payload pointing to the ethernet header
|
* @param p the recevied packet, p->payload pointing to the ethernet header
|
||||||
* @param netif the network interface on which the packet was received
|
* @param netif the network interface on which the packet was received
|
||||||
*/
|
*/
|
||||||
static void
|
static err_t
|
||||||
ethernet_input(struct pbuf *p, struct netif *netif)
|
ethernet_input(struct pbuf *p, struct netif *netif)
|
||||||
{
|
{
|
||||||
struct eth_hdr* ethhdr;
|
struct eth_hdr* ethhdr;
|
||||||
@ -259,6 +259,8 @@ ethernet_input(struct pbuf *p, struct netif *netif)
|
|||||||
p = NULL;
|
p = NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return ERR_OK; /* return value ignored */
|
||||||
}
|
}
|
||||||
#endif /* ETHARP_TCPIP_ETHINPUT */
|
#endif /* ETHARP_TCPIP_ETHINPUT */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user