Add a comment

This commit is contained in:
Gregory Nutt 2014-11-22 09:08:31 -06:00
parent d76ed2cbc5
commit fbd82712da
1 changed files with 4 additions and 0 deletions

View File

@ -195,6 +195,10 @@ FAR struct net_driver_s *netdev_findbyaddr(const net_ipaddr_t addr)
* However, if there is only a single, registered network interface, then * However, if there is only a single, registered network interface, then
* the decision is pretty easy. Use that device and its default router * the decision is pretty easy. Use that device and its default router
* address. * address.
*
* REVISIT: This logic is lame. Also, in the case where the socket is
* bound to INADDRY_ANY, we should return the default network device
* (from netdev_default()).
*/ */
netdev_semtake(); netdev_semtake();