mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
Forgot some brackets in an if statement in v1.109
This commit is contained in:
parent
e01f342048
commit
df0e4492a7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user