summaryrefslogtreecommitdiff
path: root/nuttx/net/sendto.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-05 13:16:18 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-05 13:16:18 -0600
commite2f7a1a610753465c2f9f47054ce9365cd131289 (patch)
treef5f316db87c490f053f74d3232adec3736f74276 /nuttx/net/sendto.c
parent572252ef94d174774b2455c45657c8255bdf01f0 (diff)
downloadnuttx-e2f7a1a610753465c2f9f47054ce9365cd131289.tar.gz
nuttx-e2f7a1a610753465c2f9f47054ce9365cd131289.tar.bz2
nuttx-e2f7a1a610753465c2f9f47054ce9365cd131289.zip
netdev_findbyaddr() will not use a routing table if one is available. It will also make a better decision in the case there there is no routing table but only a single network interface.
Diffstat (limited to 'nuttx/net/sendto.c')
-rw-r--r--nuttx/net/sendto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/sendto.c b/nuttx/net/sendto.c
index 232dd20f6..da3e5c860 100644
--- a/nuttx/net/sendto.c
+++ b/nuttx/net/sendto.c
@@ -402,7 +402,7 @@ ssize_t psock_sendto(FAR struct socket *psock, FAR const void *buf,
/* Notify the device driver of the availabilty of TX data */
- netdev_txnotify(&conn->ripaddr);
+ netdev_txnotify(conn->ripaddr);
/* Wait for either the receive to complete or for an error/timeout to occur.
* NOTES: (1) uip_lockedwait will also terminate if a signal is received, (2)