summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-20 13:48:42 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-20 13:48:42 -0600
commit6b1909e4fe37e0f4b7e9dc79a5cb152100f5de34 (patch)
treeaf3cfd6d17360652d6e09b906f34ba4ae3b9763e
parent26579ef724d2617383e7f4530eef693d05a828be (diff)
downloadnuttx-6b1909e4fe37e0f4b7e9dc79a5cb152100f5de34.tar.gz
nuttx-6b1909e4fe37e0f4b7e9dc79a5cb152100f5de34.tar.bz2
nuttx-6b1909e4fe37e0f4b7e9dc79a5cb152100f5de34.zip
Fix typo in function name
-rw-r--r--nuttx/net/arp/arp_out.c2
-rw-r--r--nuttx/net/arp/arp_send.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/arp/arp_out.c b/nuttx/net/arp/arp_out.c
index b5d5af755..ac8f6651b 100644
--- a/nuttx/net/arp/arp_out.c
+++ b/nuttx/net/arp/arp_out.c
@@ -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.
diff --git a/nuttx/net/arp/arp_send.c b/nuttx/net/arp/arp_send.c
index 1ff716278..0bbcf382f 100644
--- a/nuttx/net/arp/arp_send.c
+++ b/nuttx/net/arp/arp_send.c
@@ -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.