Skip to content
Snippets Groups Projects
Commit fbd82712 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Add a comment

parent d76ed2cb
No related branches found
No related tags found
No related merge requests found
......@@ -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
* the decision is pretty easy. Use that device and its default router
* 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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment