mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
Merge branch 'master' of bitbucket.org:nuttx/nuttx
This commit is contained in:
@@ -217,9 +217,11 @@ FAR struct net_driver_s *netdev_findby_ipv4addr(in_addr_t ripaddr)
|
|||||||
* broadcast packet out ALL local networks. I am not sure
|
* broadcast packet out ALL local networks. I am not sure
|
||||||
* of that and, in any event, there is nothing we can do
|
* of that and, in any event, there is nothing we can do
|
||||||
* about that here.
|
* about that here.
|
||||||
|
* For now, simply return the first network interface in order
|
||||||
|
* to have working DHCP with CONFIG_NETDEV_MULTINIC.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return NULL;
|
return g_netdevices;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user