Minor change: add a trace in etharp.c, find_entry

This commit is contained in:
fbernon 2008-02-21 14:26:14 +00:00
parent 0cbd7501a1
commit faca23b984

View File

@ -348,6 +348,7 @@ find_entry(struct ip_addr *ipaddr, u8_t flags)
if (((empty == ARP_TABLE_SIZE) && ((flags & ETHARP_TRY_HARD) == 0))
/* or don't create new entry, only search? */
|| ((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;
}