mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
Minor fix: debug text inside ethernetif_input
This commit is contained in:
parent
62c3de30b9
commit
d5a174364a
@ -237,7 +237,7 @@ ethernetif_input(struct netif *netif)
|
|||||||
case ETHTYPE_ARP:
|
case ETHTYPE_ARP:
|
||||||
/* full packet send to tcpip_thread to process */
|
/* full packet send to tcpip_thread to process */
|
||||||
if (netif->input(p, netif)!=ERR_OK)
|
if (netif->input(p, netif)!=ERR_OK)
|
||||||
{ LWIP_DEBUGF(NETIF_DEBUG, ("ethernetif_init: IP input error\n"));
|
{ LWIP_DEBUGF(NETIF_DEBUG, ("ethernetif_input: IP input error\n"));
|
||||||
pbuf_free(p);
|
pbuf_free(p);
|
||||||
p = NULL;
|
p = NULL;
|
||||||
}
|
}
|
||||||
@ -262,7 +262,7 @@ ethernetif_input(struct netif *netif)
|
|||||||
pbuf_header(p, -sizeof(struct eth_hdr));
|
pbuf_header(p, -sizeof(struct eth_hdr));
|
||||||
/* pass to network layer */
|
/* pass to network layer */
|
||||||
if (netif->input(p, netif)!=ERR_OK)
|
if (netif->input(p, netif)!=ERR_OK)
|
||||||
{ LWIP_DEBUGF(NETIF_DEBUG, ("ethernetif_init: IP input error\n"));
|
{ LWIP_DEBUGF(NETIF_DEBUG, ("ethernetif_input: IP input error\n"));
|
||||||
pbuf_free(p);
|
pbuf_free(p);
|
||||||
p = NULL;
|
p = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user