mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user