mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
Minor change: add a trace in etharp.c, find_entry
This commit is contained in:
parent
0cbd7501a1
commit
faca23b984
@ -348,6 +348,7 @@ find_entry(struct ip_addr *ipaddr, u8_t flags)
|
|||||||
if (((empty == ARP_TABLE_SIZE) && ((flags & ETHARP_TRY_HARD) == 0))
|
if (((empty == ARP_TABLE_SIZE) && ((flags & ETHARP_TRY_HARD) == 0))
|
||||||
/* or don't create new entry, only search? */
|
/* or don't create new entry, only search? */
|
||||||
|| ((flags & ETHARP_FIND_ONLY) != 0)) {
|
|| ((flags & ETHARP_FIND_ONLY) != 0)) {
|
||||||
|
LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("find_entry: no empty entry found and not allowed to recycle\n"));
|
||||||
return (s8_t)ERR_MEM;
|
return (s8_t)ERR_MEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user