diff options
Diffstat (limited to 'nuttx/net/socket/sendto.c')
-rw-r--r-- | nuttx/net/socket/sendto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/socket/sendto.c b/nuttx/net/socket/sendto.c index ae2884816..151487555 100644 --- a/nuttx/net/socket/sendto.c +++ b/nuttx/net/socket/sendto.c @@ -420,9 +420,9 @@ ssize_t psock_sendto(FAR struct socket *psock, FAR const void *buf, /* Notify the device driver of the availability of TX data */ #ifdef CONFIG_NET_MULTILINK - netdev_txnotify(conn->lipaddr, conn->ripaddr); + netdev_txnotify(conn->u.ipv4.laddr, conn->u.ipv4.raddr); #else - netdev_txnotify(conn->ripaddr); + netdev_txnotify(conn->u.ipv4.raddr); #endif /* Wait for either the receive to complete or for an error/timeout to occur. |