mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
net/: Lots of build problems introduced into multiple NIC support. Many places where conditional logic based on CONFIG_NETDEV_MULTINIC is confused with CONFIG_NET_MULTILINK. Lots of code changed with IPv6 that was never compiled with MULTINIC enabled. Still some problem with parameter passing.
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ int arp_send(in_addr_t ipaddr)
|
||||
|
||||
/* Get the device that can route this request */
|
||||
|
||||
#ifdef CONFIG_NET_MULTILINK
|
||||
#ifdef CONFIG_NETDEV_MULTINIC
|
||||
dev = netdev_findby_ipv4addr(g_ipv4_allzeroaddr, ipaddr);
|
||||
#else
|
||||
dev = netdev_findby_ipv4addr(ipaddr);
|
||||
|
||||
Reference in New Issue
Block a user