summaryrefslogtreecommitdiff
path: root/nuttx/net/netdev/netdev_rxnotify.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/netdev/netdev_rxnotify.c')
-rw-r--r--nuttx/net/netdev/netdev_rxnotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/netdev/netdev_rxnotify.c b/nuttx/net/netdev/netdev_rxnotify.c
index e471dbb54..a859d8178 100644
--- a/nuttx/net/netdev/netdev_rxnotify.c
+++ b/nuttx/net/netdev/netdev_rxnotify.c
@@ -102,9 +102,9 @@ void netdev_rxnotify(const net_ipaddr_t ripaddr)
/* Find the device driver that serves the subnet of the remote address */
#ifdef CONFIG_NET_MULTILINK
- dev = netdev_findbyaddr(lipaddr, ripaddr);
+ dev = netdev_findby_ipv4addr(lipaddr, ripaddr);
#else
- dev = netdev_findbyaddr(ripaddr);
+ dev = netdev_findby_ipv4addr(ripaddr);
#endif
if (dev && dev->d_rxavail)