Merged in andreasBihlmaier/nuttx/temporary-fix-dhcp (pull request )

not a clean fix, but at least makes DHCP working with CONFIG_NETDEV_MULTINIC

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
Andreas Bihlmaier 2017-04-15 11:55:07 +00:00 committed by Gregory Nutt
commit b533f9a154

@ -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
* of that and, in any event, there is nothing we can do
* 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
{