From 41bb57efeac22a56601a6e3693f7f227f6e80356 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 20 Jan 2015 13:48:42 -0600 Subject: [PATCH] Fix typo in function name --- net/arp/arp_out.c | 2 +- net/arp/arp_send.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/arp/arp_out.c b/net/arp/arp_out.c index b5d5af755f..ac8f6651be 100644 --- a/net/arp/arp_out.c +++ b/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/net/arp/arp_send.c b/net/arp/arp_send.c index 1ff7162786..0bbcf382f2 100644 --- a/net/arp/arp_send.c +++ b/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.