mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Update TODO; Cosmetic changes to comments
This commit is contained in:
@@ -166,7 +166,7 @@ FAR struct net_driver_s *netdev_findbyaddr(const net_ipaddr_t addr)
|
||||
/* No.. The address lies on an external network */
|
||||
|
||||
#ifdef CONFIG_NET_ROUTE
|
||||
/* If we have a routing table, then perhaps we can find the the local
|
||||
/* If we have a routing table, then perhaps we can find the local
|
||||
* address of a router that can forward packets to the external network.
|
||||
*/
|
||||
|
||||
@@ -202,6 +202,7 @@ FAR struct net_driver_s *netdev_findbyaddr(const net_ipaddr_t addr)
|
||||
{
|
||||
dev = g_netdevices;
|
||||
}
|
||||
|
||||
netdev_semgive();
|
||||
|
||||
/* If we will did not find the network device, then we might as well fail
|
||||
|
||||
Reference in New Issue
Block a user