summaryrefslogtreecommitdiff
path: root/nuttx/net/arp/arp_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/arp/arp_send.c')
-rw-r--r--nuttx/net/arp/arp_send.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/net/arp/arp_send.c b/nuttx/net/arp/arp_send.c
index 8433aa964..b3803d0f1 100644
--- a/nuttx/net/arp/arp_send.c
+++ b/nuttx/net/arp/arp_send.c
@@ -222,7 +222,11 @@ 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);
+#else
dev = netdev_findbyaddr(ipaddr);
+#endif
if (!dev)
{
ndbg("ERROR: Unreachable: %08lx\n", (unsigned long)ipaddr);