net/arp/arp_out.c: Fix some backward logic in an if condition.

This commit is contained in:
Gregory Nutt 2018-08-29 10:51:44 -06:00
parent 51708745f6
commit bb92b98dc0
1 changed files with 1 additions and 1 deletions

View File

@ -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, &ethaddr);
if (ret >= 0)
if (ret < 0)
{
ninfo("ARP request for IP %08lx\n", (unsigned long)ipaddr);