mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
Fix typo in function name
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ void arp_out(FAR struct net_driver_s *dev)
|
||||
* destination address when determining the MAC address.
|
||||
*/
|
||||
|
||||
netdev_router(dev, destipaddr, &ipaddr);
|
||||
netdev_ipv4_router(dev, destipaddr, &ipaddr);
|
||||
#else
|
||||
/* Use the device's default router IP address instead of the
|
||||
* destination address when determining the MAC address.
|
||||
|
||||
+1
-1
@@ -264,7 +264,7 @@ int arp_send(in_addr_t ipaddr)
|
||||
* destination address when determining the MAC address.
|
||||
*/
|
||||
|
||||
netdev_router(dev, ipaddr, &dripaddr);
|
||||
netdev_ipv4_router(dev, ipaddr, &dripaddr);
|
||||
#else
|
||||
/* Use the device's default router IP address instead of the
|
||||
* destination address when determining the MAC address.
|
||||
|
||||
Reference in New Issue
Block a user