Forgot some brackets in an if statement in v1.109

This commit is contained in:
goldsimon 2007-06-10 09:49:04 +00:00
parent e01f342048
commit df0e4492a7

View File

@ -310,7 +310,7 @@ find_entry(struct ip_addr *ipaddr, u8_t flags)
/* { we have no match } => try to create a new entry */
/* no empty entry found and not allowed to recycle? */
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? */
|| ((flags & ETHARP_FIND_ONLY) != 0)) {
return (s8_t)ERR_MEM;