net/arp/arp_out.c: Fix some backward logic in an if condition.
This commit is contained in:
parent
51708745f6
commit
bb92b98dc0
|
@ -252,7 +252,7 @@ void arp_out(FAR struct net_driver_s *dev)
|
|||
/* Check if we already have this destination address in the ARP table */
|
||||
|
||||
ret = arp_find(ipaddr, ðaddr);
|
||||
if (ret >= 0)
|
||||
if (ret < 0)
|
||||
{
|
||||
ninfo("ARP request for IP %08lx\n", (unsigned long)ipaddr);
|
||||
|
||||
|
|
Loading…
Reference in New Issue