mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 05:07:48 +00:00
net/arp/arp_out.c: Fix some backward logic in an if condition.
This commit is contained in:
parent
51708745f6
commit
bb92b98dc0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue