diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-10-05 13:16:18 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-10-05 13:16:18 -0600 |
commit | e2f7a1a610753465c2f9f47054ce9365cd131289 (patch) | |
tree | f5f316db87c490f053f74d3232adec3736f74276 /nuttx/net/sendto.c | |
parent | 572252ef94d174774b2455c45657c8255bdf01f0 (diff) | |
download | px4-nuttx-e2f7a1a610753465c2f9f47054ce9365cd131289.tar.gz px4-nuttx-e2f7a1a610753465c2f9f47054ce9365cd131289.tar.bz2 px4-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.c | 2 |
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) |