From df0e4492a7cbc8c779f875ea6d699ab0fbcaa5ac Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 10 Jun 2007 09:49:04 +0000 Subject: [PATCH] Forgot some brackets in an if statement in v1.109 --- src/netif/etharp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netif/etharp.c b/src/netif/etharp.c index 0b695cca..a9bc02a8 100644 --- a/src/netif/etharp.c +++ b/src/netif/etharp.c @@ -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;