summaryrefslogtreecommitdiff
path: root/nuttx/net/arp
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-16 08:51:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-16 08:51:18 -0600
commit8c1935a004d78bfcdd80638c38fcaa07152f6815 (patch)
treee4d690ddb01d48ed029fe5d816573cd68269bf91 /nuttx/net/arp
parent7d10c05a0f354f89bba5850a6d7b2a9b6675dd91 (diff)
downloadpx4-nuttx-8c1935a004d78bfcdd80638c38fcaa07152f6815.tar.gz
px4-nuttx-8c1935a004d78bfcdd80638c38fcaa07152f6815.tar.bz2
px4-nuttx-8c1935a004d78bfcdd80638c38fcaa07152f6815.zip
Networking: More detangling of IPv6 logic. Next steps will be more invasive and will get moved to a branch
Diffstat (limited to 'nuttx/net/arp')
-rw-r--r--nuttx/net/arp/arp_send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/arp/arp_send.c b/nuttx/net/arp/arp_send.c
index baa8e4ea3..e0d29c9df 100644
--- a/nuttx/net/arp/arp_send.c
+++ b/nuttx/net/arp/arp_send.c
@@ -223,9 +223,9 @@ int arp_send(in_addr_t ipaddr)
/* Get the device that can route this request */
#ifdef CONFIG_NET_MULTILINK
- dev = netdev_findbyaddr(g_allzeroaddr, ipaddr);
+ dev = netdev_findby_ipv4addr(g_allzeroaddr, ipaddr);
#else
- dev = netdev_findbyaddr(ipaddr);
+ dev = netdev_findby_ipv4addr(ipaddr);
#endif
if (!dev)
{