9
0
Fork 0

Fix recvfrom port bug

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@886 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2008-09-06 16:45:28 +00:00
parent ef29861465
commit db7ba1ab18
3 changed files with 5 additions and 1 deletions

View File

@ -453,4 +453,6 @@
* NSH: Add get and put commands to support TFTP get and put operations.
* NSH: Added a mkrd command that will create a RAMDISK that can be formatted
and mounted.
* Corrected a critical bug that prevent recvfrom from receiving packets from
any remote UDP port.

View File

@ -1080,6 +1080,8 @@ nuttx-0.3.14 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
* NSH: Add get and put commands to support TFTP get and put operations.
* NSH: Added a mkrd command that will create a RAMDISK that can be formatted
and mounted.
* Corrected a critical bug that prevent recvfrom from receiving packets from
any remote UDP port.
pascal-0.1.3 2008-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>

View File

@ -780,7 +780,7 @@ static ssize_t udp_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len,
/* Setup the UDP remote connection */
ret = uip_udpconnect(conn, infrom);
ret = uip_udpconnect(conn, NULL);
if (ret < 0)
{
irqrestore(save);