net/netdev: All utility functions that lookup network devices should begin with netdev_findby_. Also correct some comments and the name of a formal parameter.

This commit is contained in:
Gregory Nutt
2018-10-29 12:20:44 -06:00
parent ad887ec34c
commit 7d2b250cbc
16 changed files with 64 additions and 65 deletions
+1 -1
View File
@@ -1134,7 +1134,7 @@ static FAR struct net_driver_s *netdev_imsfdev(FAR struct ip_msfilter *imsf)
* of the local device.
*/
return netdev_finddevice_ipv4addr(imsf->imsf_interface.s_addr);
return netdev_findby_lipv4addr(imsf->imsf_interface.s_addr);
}
#endif